Class PTTool
Inheritance
System.Object
PTTool
Implements
ObjCRuntime.INativeObject
System.IDisposable
UIKit.IUIAdaptivePresentationControllerDelegate
UIKit.IUIGestureRecognizerDelegate
UIKit.IUIPopoverPresentationControllerDelegate
Assembly: Tools.dll
public class PTTool : UIView, IPTNoteEditControllerDelegate, IPTOverridable, IPTToolSwitching, IPTPDFViewCtrlToolDelegate
Constructors
Declaration
public PTTool(NSCoder coder)
Parameters
| Type |
Name |
Description |
| Foundation.NSCoder |
coder |
|
Declaration
protected PTTool(NSObjectFlag t)
Parameters
| Type |
Name |
Description |
| Foundation.NSObjectFlag |
t |
|
Declaration
protected PTTool(NativeHandle handle)
Parameters
| Type |
Name |
Description |
| ObjCRuntime.NativeHandle |
handle |
|
Declaration
public PTTool(PTPDFViewCtrl pdfViewCtrl)
Parameters
Properties
Declaration
public virtual bool AllowScrolling { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual bool AllowZoom { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual string AnnotationAuthor { get; set; }
Property Value
| Type |
Description |
| System.String |
|
AnnotationPageNumber
Declaration
public virtual uint AnnotationPageNumber { get; set; }
Property Value
| Type |
Description |
| System.UInt32 |
|
Declaration
public virtual Class AnnotClass { get; }
Property Value
| Type |
Description |
| ObjCRuntime.Class |
|
Declaration
public virtual PTExtendedAnnotType AnnotType { get; }
Property Value
Declaration
public static PTTool.PTToolAppearance Appearance { get; }
Property Value
Declaration
public virtual bool BackToPanToolAfterUse { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual bool CanEditStyle { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public static PTExtendedAnnotType ClassAnnotType { get; }
Property Value
Declaration
public static bool ClassCanEditStyle { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public static bool ClassCreatesAnnotation { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public override NativeHandle ClassHandle { get; }
Property Value
| Type |
Description |
| ObjCRuntime.NativeHandle |
|
Declaration
public virtual bool CreatesAnnotation { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual PTAnnot CurrentAnnotation { get; set; }
Property Value
Declaration
public virtual Class DefaultClass { get; set; }
Property Value
| Type |
Description |
| ObjCRuntime.Class |
|
Declaration
public virtual string Identifier { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
public static UIImage Image { get; }
Property Value
| Type |
Description |
| UIKit.UIImage |
|
Declaration
public static string LocalizedName { get; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
public virtual CGPoint LongPressPoint { get; set; }
Property Value
| Type |
Description |
| CoreGraphics.CGPoint |
|
Declaration
public virtual UIView NewTool { get; }
Property Value
| Type |
Description |
| UIKit.UIView |
|
Declaration
public virtual Class NextToolType { get; set; }
Property Value
| Type |
Description |
| ObjCRuntime.Class |
|
PageIndicatorIsVisible
Declaration
public virtual bool PageIndicatorIsVisible { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual PTPDFViewCtrl PdfViewCtrl { get; }
Property Value
Declaration
public virtual Class PreviousToolType { get; set; }
Property Value
| Type |
Description |
| ObjCRuntime.Class |
|
TextMarkupAdobeHack
Declaration
public virtual bool TextMarkupAdobeHack { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual PTToolManager ToolManager { get; set; }
Property Value
Declaration
public virtual bool UndoManagerEnabled { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
Declaration
public virtual void AnnotationAdded(PTAnnot annotation, UIntPtr pageNumber)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annotation |
|
| System.UIntPtr |
pageNumber |
|
Declaration
public virtual void AnnotationFlattened(PTAnnot annotation, UIntPtr pageNumber)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annotation |
|
| System.UIntPtr |
pageNumber |
|
Declaration
public virtual void AnnotationModified(PTAnnot annotation, UIntPtr pageNumber)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annotation |
|
| System.UIntPtr |
pageNumber |
|
Declaration
public virtual void AnnotationRemoved(PTAnnot annotation, UIntPtr pageNumber)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annotation |
|
| System.UIntPtr |
pageNumber |
|
Declaration
public static PTTool.PTToolAppearance AppearanceWhenContainedIn(params Type[] containers)
Parameters
| Type |
Name |
Description |
| System.Type[] |
containers |
|
Returns
CalculateAnnotationPosition(PTExtendedAnnotType, Int32, Boolean)
Declaration
public virtual void CalculateAnnotationPosition(PTExtendedAnnotType annotType, int pageNumber, bool includePageCenter)
Parameters
| Type |
Name |
Description |
| PTExtendedAnnotType |
annotType |
|
| System.Int32 |
pageNumber |
|
| System.Boolean |
includePageCenter |
|
Declaration
public virtual bool CanEditAnnotation(PTAnnot annotation, UIntPtr pageNumber)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annotation |
|
| System.UIntPtr |
pageNumber |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual CGRect CGRectCanvasToCGRectScreen(CGRect canvasRect)
Parameters
| Type |
Name |
Description |
| CoreGraphics.CGRect |
canvasRect |
|
Returns
| Type |
Description |
| CoreGraphics.CGRect |
|
CGRectScreen2PDFRectPage(CGRect, Int32)
Declaration
public virtual PTPDFRect CGRectScreen2PDFRectPage(CGRect screenRect, int pageNumber)
Parameters
| Type |
Name |
Description |
| CoreGraphics.CGRect |
screenRect |
|
| System.Int32 |
pageNumber |
|
Returns
Declaration
public virtual CGRect CGRectScreenToCGRectCanvas(CGRect screenRect)
Parameters
| Type |
Name |
Description |
| CoreGraphics.CGRect |
screenRect |
|
Returns
| Type |
Description |
| CoreGraphics.CGRect |
|
Declaration
public virtual void CommitAnnotation()
ConvertPagePtToScreenPt(CGPoint, Int32)
Declaration
public virtual CGPoint ConvertPagePtToScreenPt(CGPoint pagePoint, int pageNumber)
Parameters
| Type |
Name |
Description |
| CoreGraphics.CGPoint |
pagePoint |
|
| System.Int32 |
pageNumber |
|
Returns
| Type |
Description |
| CoreGraphics.CGPoint |
|
ConvertPagePtToScreenPtX(out NFloat, out NFloat, Int32)
Declaration
public virtual void ConvertPagePtToScreenPtX(out NFloat x, out NFloat y, int pageNumber)
Parameters
| Type |
Name |
Description |
| System.Runtime.InteropServices.NFloat |
x |
|
| System.Runtime.InteropServices.NFloat |
y |
|
| System.Int32 |
pageNumber |
|
ConvertScreenPtToPagePt(CGPoint, Int32)
Declaration
public virtual CGPoint ConvertScreenPtToPagePt(CGPoint screenPoint, int pageNumber)
Parameters
| Type |
Name |
Description |
| CoreGraphics.CGPoint |
screenPoint |
|
| System.Int32 |
pageNumber |
|
Returns
| Type |
Description |
| CoreGraphics.CGPoint |
|
ConvertScreenPtToPagePtX(out NFloat, out NFloat, Int32)
Declaration
public virtual void ConvertScreenPtToPagePtX(out NFloat x, out NFloat y, int pageNumber)
Parameters
| Type |
Name |
Description |
| System.Runtime.InteropServices.NFloat |
x |
|
| System.Runtime.InteropServices.NFloat |
y |
|
| System.Int32 |
pageNumber |
|
Declaration
public virtual void DeleteSelectedAnnotation()
DidCopyText(String, UIPasteboard)
Declaration
public virtual void DidCopyText(string copiedText, UIPasteboard pasteboard)
Parameters
| Type |
Name |
Description |
| System.String |
copiedText |
|
| UIKit.UIPasteboard |
pasteboard |
|
Declaration
public virtual void DidEndDisplayingAppearanceView(UIView appearanceView, PTAnnot annotation, int pageNumber)
Parameters
| Type |
Name |
Description |
| UIKit.UIView |
appearanceView |
|
| PTAnnot |
annotation |
|
| System.Int32 |
pageNumber |
|
Declaration
public virtual void DidSelectAnnotation(PTAnnot annotation, UIntPtr pageNumber)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annotation |
|
| System.UIntPtr |
pageNumber |
|
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type |
Name |
Description |
| System.Boolean |
disposing |
|
Declaration
public virtual void EditSelectedAnnotationNote()
Declaration
public virtual void ExecuteAction(PTActionParameter action_param)
Parameters
Declaration
public virtual void FlattenAnnotations(PTAnnot[] annotations)
Parameters
| Type |
Name |
Description |
| PTAnnot[] |
annotations |
|
Declaration
public virtual bool FlattenAnnotations(PTAnnot[] annotations, int pageNumber, out NSError error)
Parameters
| Type |
Name |
Description |
| PTAnnot[] |
annotations |
|
| System.Int32 |
pageNumber |
|
| Foundation.NSError |
error |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual void FormFieldDataModified(PTAnnot annotation, UIntPtr pageNumber)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annotation |
|
| System.UIntPtr |
pageNumber |
|
Declaration
public virtual void GeneratedAppearance(PTPDFViewCtrl pdfViewCtrl, UIImageView imageView, PTAnnot annot, uint pageNumber)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIImageView |
imageView |
|
| PTAnnot |
annot |
|
| System.UInt32 |
pageNumber |
|
Declaration
public static PTTool.PTToolAppearance GetAppearance(UITraitCollection traits)
Parameters
| Type |
Name |
Description |
| UIKit.UITraitCollection |
traits |
|
Returns
Declaration
public static PTTool.PTToolAppearance GetAppearance(UITraitCollection traits, params Type[] containers)
Parameters
| Type |
Name |
Description |
| UIKit.UITraitCollection |
traits |
|
| System.Type[] |
containers |
|
Returns
Declaration
public static PTTool.PTToolAppearance GetAppearance<T>()
where T : PTTool
Returns
Type Parameters
Declaration
public static PTTool.PTToolAppearance GetAppearance<T>(UITraitCollection traits)
where T : PTTool
Parameters
| Type |
Name |
Description |
| UIKit.UITraitCollection |
traits |
|
Returns
Type Parameters
Declaration
public static PTTool.PTToolAppearance GetAppearance<T>(UITraitCollection traits, params Type[] containers)
where T : PTTool
Parameters
| Type |
Name |
Description |
| UIKit.UITraitCollection |
traits |
|
| System.Type[] |
containers |
|
Returns
Type Parameters
Declaration
public static PTPDFRect GetRectUnion(PTPDFRect rect1, PTPDFRect rect2)
Parameters
Returns
Declaration
public virtual bool HandleDoubleTap(PTPDFViewCtrl pdfViewCtrl, UITapGestureRecognizer gestureRecognizer)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UITapGestureRecognizer |
gestureRecognizer |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual void HandleFileAttachment(PTFileAttachment fileAttachment, UIntPtr pageNumber)
Parameters
Declaration
public virtual bool HandleLongPress(PTPDFViewCtrl pdfViewCtrl, UILongPressGestureRecognizer gestureRecognizer)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UILongPressGestureRecognizer |
gestureRecognizer |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual bool HandleTap(PTPDFViewCtrl pdfViewCtrl, UITapGestureRecognizer gestureRecognizer)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UITapGestureRecognizer |
gestureRecognizer |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual void HideMenu()
Declaration
public virtual void JavascriptCallback(PTPDFViewCtrl pdfViewCtrl, string event_type, string json)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| System.String |
event_type |
|
| System.String |
json |
|
Declaration
public virtual void KeepToolAppearanceOnScreen()
Declaration
public virtual void KeepToolAppearanceOnScreenWithImageView(UIImageView imageView)
Parameters
| Type |
Name |
Description |
| UIKit.UIImageView |
imageView |
|
Declaration
public virtual void ModifyAnnotation(PTAnnot annotation, UIntPtr pageNumber, Action<PTAnnot, int> block)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annotation |
|
| System.UIntPtr |
pageNumber |
|
| System.Action<PTAnnot, System.Int32> |
block |
|
Declaration
public virtual void NoteEditControllerCancelButtonPressed(PTNoteEditController noteEditController, bool showSelectionMenu)
Parameters
Declaration
public virtual void NoteEditControllerDeleteSelectedAnnotation(PTNoteEditController noteEditController)
Parameters
Declaration
public virtual void NoteEditControllerSaveNewNote(PTNoteEditController noteEditController, string str)
Parameters
Declaration
public virtual void NoteEditControllerStyleButtonPressed(PTNoteEditController noteEditController)
Parameters
Declaration
public virtual bool OnSwitchToolEvent(NSObject userData)
Parameters
| Type |
Name |
Description |
| Foundation.NSObject |
userData |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual bool OnTouchesBegan(PTPDFViewCtrl pdfViewCtrl, NSSet<UITouch> touches, UIEvent event)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| Foundation.NSSet<UIKit.UITouch> |
touches |
|
| UIKit.UIEvent |
event |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual bool OnTouchesCancelled(PTPDFViewCtrl pdfViewCtrl, NSSet<UITouch> touches, UIEvent event)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| Foundation.NSSet<UIKit.UITouch> |
touches |
|
| UIKit.UIEvent |
event |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual bool OnTouchesEnded(PTPDFViewCtrl pdfViewCtrl, NSSet<UITouch> touches, UIEvent event)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| Foundation.NSSet<UIKit.UITouch> |
touches |
|
| UIKit.UIEvent |
event |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual bool OnTouchesMoved(PTPDFViewCtrl pdfViewCtrl, NSSet<UITouch> touches, UIEvent event)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| Foundation.NSSet<UIKit.UITouch> |
touches |
|
| UIKit.UIEvent |
event |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual void OuterScrollViewDidEndDecelerating(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void OuterScrollViewDidEndDragging(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView, bool decelerate)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
| System.Boolean |
decelerate |
|
Declaration
public virtual void OuterScrollViewDidEndScrollingAnimation(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void OuterScrollViewDidEndZooming(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView, UIView view, float scale)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
| UIKit.UIView |
view |
|
| System.Single |
scale |
|
Declaration
public virtual void OuterScrollViewDidScroll(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void OuterScrollViewDidScrollToTop(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void OuterScrollViewDidZoom(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual bool OuterScrollViewShouldScrollToTop(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual void OuterScrollViewWillBeginDecelerating(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void OuterScrollViewWillBeginDragging(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void OuterScrollViewWillBeginZooming(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView, UIView view)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
| UIKit.UIView |
view |
|
PageBoxInScreenPtsForPageNumber(Int32)
Declaration
public virtual PTPDFRect PageBoxInScreenPtsForPageNumber(int pageNumber)
Parameters
| Type |
Name |
Description |
| System.Int32 |
pageNumber |
|
Returns
PageCropBoxForPageNumber(Int32)
Declaration
public virtual PTPDFRect PageCropBoxForPageNumber(int pageNumber)
Parameters
| Type |
Name |
Description |
| System.Int32 |
pageNumber |
|
Returns
PageNumberChangedFrom(PTPDFViewCtrl, Int32, Int32)
Declaration
public virtual void PageNumberChangedFrom(PTPDFViewCtrl pdfViewCtrl, int oldPageNumber, int newPageNumber)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| System.Int32 |
oldPageNumber |
|
| System.Int32 |
newPageNumber |
|
Declaration
public virtual int PageRotationForPageNumber(int pageNumber)
Parameters
| Type |
Name |
Description |
| System.Int32 |
pageNumber |
|
Returns
| Type |
Description |
| System.Int32 |
|
PDFRectPage2CGRectScreen(PTPDFRect, Int32)
Declaration
public virtual CGRect PDFRectPage2CGRectScreen(PTPDFRect r, int pageNumber)
Parameters
| Type |
Name |
Description |
| PTPDFRect |
r |
|
| System.Int32 |
pageNumber |
|
Returns
| Type |
Description |
| CoreGraphics.CGRect |
|
Declaration
public virtual CGRect PDFRectScreen2CGRectScreen(PTPDFRect r)
Parameters
Returns
| Type |
Description |
| CoreGraphics.CGRect |
|
Declaration
public virtual CGRect PDFRectScreen2CGRectScreen(PTPDFRect r, int pageNumber)
Parameters
| Type |
Name |
Description |
| PTPDFRect |
r |
|
| System.Int32 |
pageNumber |
|
Returns
| Type |
Description |
| CoreGraphics.CGRect |
|
Declaration
public virtual void PdfScrollViewDidEndDecelerating(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void PdfScrollViewDidEndDragging(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView, bool decelerate)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
| System.Boolean |
decelerate |
|
Declaration
public virtual void PdfScrollViewDidEndScrollingAnimation(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void PdfScrollViewDidEndZooming(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView, UIView view, float scale)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
| UIKit.UIView |
view |
|
| System.Single |
scale |
|
Declaration
public virtual void PdfScrollViewDidScroll(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void PdfScrollViewDidScrollToTop(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void PdfScrollViewDidZoom(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual bool PdfScrollViewShouldScrollToTop(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual void PdfScrollViewWillBeginDecelerating(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void PdfScrollViewWillBeginDragging(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
Declaration
public virtual void PdfScrollViewWillBeginZooming(PTPDFViewCtrl pdfViewCtrl, UIScrollView scrollView, UIView view)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIScrollView |
scrollView |
|
| UIKit.UIView |
view |
|
Declaration
public virtual void PdfViewCtrlOnLayoutChanged(PTPDFViewCtrl pdfViewCtrl)
Parameters
Declaration
public virtual void PdfViewCtrlOnRenderFinished(PTPDFViewCtrl pdfViewCtrl)
Parameters
Declaration
public virtual void PdfViewCtrlOnSetDoc(PTPDFViewCtrl pdfViewCtrl)
Parameters
Declaration
public virtual void RemoveAllSnappingViews()
Declaration
public virtual void RemoveAppearanceViews()
Declaration
public virtual CGRect ScreenRectOfMovingAnnotationClosestToPosition(CGRect position)
Parameters
| Type |
Name |
Description |
| CoreGraphics.CGRect |
position |
|
Returns
| Type |
Description |
| CoreGraphics.CGRect |
|
Declaration
public virtual CGRect ScreenRectOfResizingAnnotationClosestToPosition(CGRect position)
Parameters
| Type |
Name |
Description |
| CoreGraphics.CGRect |
position |
|
Returns
| Type |
Description |
| CoreGraphics.CGRect |
|
Declaration
public virtual void SetBackgroundColorForNote(PTNoteEditController noteEditController, UIColor fillColor)
Parameters
Declaration
public virtual void SetBarButtonColorForNote(PTNoteEditController noteEditController, UIColor barButtonColor)
Parameters
Declaration
public virtual bool ShouldHandleIndirectScribbleInteraction(UIIndirectScribbleInteraction scribbleInteraction, PTAnnot annotation, UIntPtr pageNumber)
Parameters
| Type |
Name |
Description |
| UIKit.UIIndirectScribbleInteraction |
scribbleInteraction |
|
| PTAnnot |
annotation |
|
| System.UIntPtr |
pageNumber |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual bool ShouldHandleLinkAnnotation(PTAnnot annotation, PTLinkInfo linkInfo, UIntPtr pageNumber)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annotation |
|
| PTLinkInfo |
linkInfo |
|
| System.UIntPtr |
pageNumber |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual bool ShouldInteractWithForm(PTAnnot annotation, UIntPtr pageNumber)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annotation |
|
| System.UIntPtr |
pageNumber |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual bool ShouldSelectAnnotation(PTAnnot annotation, UIntPtr pageNumber)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annotation |
|
| System.UIntPtr |
pageNumber |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual bool ShouldShowMenu(UIMenuController menuController, PTAnnot annotation, UIntPtr pageNumber)
Parameters
| Type |
Name |
Description |
| UIKit.UIMenuController |
menuController |
|
| PTAnnot |
annotation |
|
| System.UIntPtr |
pageNumber |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public virtual void ShowDisableSnappingMenuIfSnappingHasOccurred()
Declaration
public virtual void ShowSelectionMenu(CGRect targetScreenRect)
Parameters
| Type |
Name |
Description |
| CoreGraphics.CGRect |
targetScreenRect |
|
Declaration
public virtual void ShowSelectionMenu(CGRect targetScreenRect, bool animated)
Parameters
| Type |
Name |
Description |
| CoreGraphics.CGRect |
targetScreenRect |
|
| System.Boolean |
animated |
|
Declaration
public virtual bool TouchesShouldBegin(PTPDFViewCtrl pdfViewCtrl, NSSet<UITouch> touches, UIEvent event, UIView view)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| Foundation.NSSet<UIKit.UITouch> |
touches |
|
| UIKit.UIEvent |
event |
|
| UIKit.UIView |
view |
|
Returns
| Type |
Description |
| System.Boolean |
|
TouchesShouldCancelInContentView(PTPDFViewCtrl, UIView)
Declaration
public virtual bool TouchesShouldCancelInContentView(PTPDFViewCtrl pdfViewCtrl, UIView view)
Parameters
| Type |
Name |
Description |
| PTPDFViewCtrl |
pdfViewCtrl |
|
| UIKit.UIView |
view |
|
Returns
| Type |
Description |
| System.Boolean |
|
WillCopyReturnedText(String, UIPasteboard)
Declaration
public virtual string WillCopyReturnedText(string selectedText, UIPasteboard pasteboard)
Parameters
| Type |
Name |
Description |
| System.String |
selectedText |
|
| UIKit.UIPasteboard |
pasteboard |
|
Returns
| Type |
Description |
| System.String |
|
Declaration
public virtual void WillDisplayAppearanceView(UIView appearanceView, PTAnnot annotation, int pageNumber)
Parameters
| Type |
Name |
Description |
| UIKit.UIView |
appearanceView |
|
| PTAnnot |
annotation |
|
| System.Int32 |
pageNumber |
|
Declaration
public virtual void WillFlattenAnnotation(PTAnnot annotation, UIntPtr pageNumber)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annotation |
|
| System.UIntPtr |
pageNumber |
|
Declaration
public virtual void WillModifyAnnotation(PTAnnot annotation, UIntPtr pageNumber)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annotation |
|
| System.UIntPtr |
pageNumber |
|
Declaration
public virtual void WillRemoveAnnotation(PTAnnot annotation, UIntPtr pageNumber)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annotation |
|
| System.UIntPtr |
pageNumber |
|
Declaration
public virtual void WillSelectAnnotation(PTAnnot annotation, UIntPtr pageNumber)
Parameters
| Type |
Name |
Description |
| PTAnnot |
annotation |
|
| System.UIntPtr |
pageNumber |
|
Implements
ObjCRuntime.INativeObject
System.IDisposable
UIKit.IUIAdaptivePresentationControllerDelegate
UIKit.IUIGestureRecognizerDelegate
UIKit.IUIPopoverPresentationControllerDelegate