Show / Hide Table of Contents

Class PTSmartPen

Inheritance
System.Object
PTTool
PTSmartPen
Implements
IPTNoteEditControllerDelegate
IPTOverridable
IPTToolSwitching
IPTPDFViewCtrlToolDelegate
ObjCRuntime.INativeObject
System.IDisposable
UIKit.IUIAdaptivePresentationControllerDelegate
UIKit.IUIGestureRecognizerDelegate
UIKit.IUIPopoverPresentationControllerDelegate
Inherited Members
PTTool.AnnotationAdded(PTAnnot, nuint)
PTTool.AnnotationFlattened(PTAnnot, nuint)
PTTool.AnnotationModified(PTAnnot, nuint)
PTTool.AnnotationRemoved(PTAnnot, nuint)
PTTool.CGRectCanvasToCGRectScreen(CGRect)
PTTool.CGRectScreen2PDFRectPage(CGRect, Int32)
PTTool.CGRectScreenToCGRectCanvas(CGRect)
PTTool.CanEditAnnotation(PTAnnot, nuint)
PTTool.ConvertPagePtToScreenPt(CGPoint, Int32)
PTTool.ConvertPagePtToScreenPtX(nfloat, nfloat, Int32)
PTTool.ConvertScreenPtToPagePt(CGPoint, Int32)
PTTool.ConvertScreenPtToPagePtX(nfloat, nfloat, Int32)
PTTool.DeleteSelectedAnnotation()
PTTool.DidCopyText(String, UIPasteboard)
PTTool.DidSelectAnnotation(PTAnnot, nuint)
PTTool.EditSelectedAnnotationNote()
PTTool.ExecuteAction(PTActionParameter)
PTTool.FlattenAnnotations(PTAnnot[])
PTTool.FlattenAnnotations(PTAnnot[], Int32, NSError)
PTTool.FormFieldDataModified(PTAnnot, nuint)
PTTool.GeneratedAppearance(PTPDFViewCtrl, UIImageView, PTAnnot, UInt32)
PTTool.GetRectUnion(PTPDFRect, PTPDFRect)
PTTool.HandleDoubleTap(PTPDFViewCtrl, UITapGestureRecognizer)
PTTool.HandleFileAttachment(PTFileAttachment, nuint)
PTTool.HandleLongPress(PTPDFViewCtrl, UILongPressGestureRecognizer)
PTTool.HandleTap(PTPDFViewCtrl, UITapGestureRecognizer)
PTTool.HideMenu()
PTTool.JavascriptCallback(PTPDFViewCtrl, String, String)
PTTool.KeepToolAppearanceOnScreen()
PTTool.KeepToolAppearanceOnScreenWithImageView(UIImageView)
PTTool.NoteEditControllerCancelButtonPressed(PTNoteEditController, Boolean)
PTTool.NoteEditControllerDeleteSelectedAnnotation(PTNoteEditController)
PTTool.NoteEditControllerSaveNewNote(PTNoteEditController, String)
PTTool.NoteEditControllerStyleButtonPressed(PTNoteEditController)
PTTool.OnSwitchToolEvent(NSObject)
PTTool.OnTouchesBegan(PTPDFViewCtrl, NSSet<UITouch>, UIEvent)
PTTool.OnTouchesCancelled(PTPDFViewCtrl, NSSet<UITouch>, UIEvent)
PTTool.OnTouchesEnded(PTPDFViewCtrl, NSSet<UITouch>, UIEvent)
PTTool.OnTouchesMoved(PTPDFViewCtrl, NSSet<UITouch>, UIEvent)
PTTool.OuterScrollViewDidEndDecelerating(PTPDFViewCtrl, UIScrollView)
PTTool.OuterScrollViewDidEndDragging(PTPDFViewCtrl, UIScrollView, Boolean)
PTTool.OuterScrollViewDidEndScrollingAnimation(PTPDFViewCtrl, UIScrollView)
PTTool.OuterScrollViewDidEndZooming(PTPDFViewCtrl, UIScrollView, UIView, Single)
PTTool.OuterScrollViewDidScroll(PTPDFViewCtrl, UIScrollView)
PTTool.OuterScrollViewDidScrollToTop(PTPDFViewCtrl, UIScrollView)
PTTool.OuterScrollViewDidZoom(PTPDFViewCtrl, UIScrollView)
PTTool.OuterScrollViewShouldScrollToTop(PTPDFViewCtrl, UIScrollView)
PTTool.OuterScrollViewWillBeginDecelerating(PTPDFViewCtrl, UIScrollView)
PTTool.OuterScrollViewWillBeginDragging(PTPDFViewCtrl, UIScrollView)
PTTool.OuterScrollViewWillBeginZooming(PTPDFViewCtrl, UIScrollView, UIView)
PTTool.PDFRectPage2CGRectScreen(PTPDFRect, Int32)
PTTool.PDFRectScreen2CGRectScreen(PTPDFRect)
PTTool.PDFRectScreen2CGRectScreen(PTPDFRect, Int32)
PTTool.PageBoxInScreenPtsForPageNumber(Int32)
PTTool.PageCropBoxForPageNumber(Int32)
PTTool.PageNumberChangedFrom(PTPDFViewCtrl, Int32, Int32)
PTTool.PageRotationForPageNumber(Int32)
PTTool.PdfScrollViewDidEndDecelerating(PTPDFViewCtrl, UIScrollView)
PTTool.PdfScrollViewDidEndDragging(PTPDFViewCtrl, UIScrollView, Boolean)
PTTool.PdfScrollViewDidEndScrollingAnimation(PTPDFViewCtrl, UIScrollView)
PTTool.PdfScrollViewDidEndZooming(PTPDFViewCtrl, UIScrollView, UIView, Single)
PTTool.PdfScrollViewDidScroll(PTPDFViewCtrl, UIScrollView)
PTTool.PdfScrollViewDidScrollToTop(PTPDFViewCtrl, UIScrollView)
PTTool.PdfScrollViewDidZoom(PTPDFViewCtrl, UIScrollView)
PTTool.PdfScrollViewShouldScrollToTop(PTPDFViewCtrl, UIScrollView)
PTTool.PdfScrollViewWillBeginDecelerating(PTPDFViewCtrl, UIScrollView)
PTTool.PdfScrollViewWillBeginDragging(PTPDFViewCtrl, UIScrollView)
PTTool.PdfScrollViewWillBeginZooming(PTPDFViewCtrl, UIScrollView, UIView)
PTTool.PdfViewCtrlOnLayoutChanged(PTPDFViewCtrl)
PTTool.PdfViewCtrlOnRenderFinished(PTPDFViewCtrl)
PTTool.PdfViewCtrlOnSetDoc(PTPDFViewCtrl)
PTTool.RemoveAppearanceViews()
PTTool.SetBackgroundColorForNote(PTNoteEditController, UIColor)
PTTool.SetBarButtonColorForNote(PTNoteEditController, UIColor)
PTTool.ShouldHandleIndirectScribbleInteraction(UIIndirectScribbleInteraction, PTAnnot, nuint)
PTTool.ShouldHandleLinkAnnotation(PTAnnot, PTLinkInfo, nuint)
PTTool.ShouldInteractWithForm(PTAnnot, nuint)
PTTool.ShouldSelectAnnotation(PTAnnot, nuint)
PTTool.ShouldShowMenu(UIMenuController, PTAnnot, nuint)
PTTool.ShowSelectionMenu(CGRect, Boolean)
PTTool.ShowSelectionMenu(CGRect)
PTTool.TouchesShouldBegin(PTPDFViewCtrl, NSSet<UITouch>, UIEvent, UIView)
PTTool.TouchesShouldCancelInContentView(PTPDFViewCtrl, UIView)
PTTool.WillCopyReturnedText(String, UIPasteboard)
PTTool.WillFlattenAnnotation(PTAnnot, nuint)
PTTool.WillModifyAnnotation(PTAnnot, nuint)
PTTool.WillRemoveAnnotation(PTAnnot, nuint)
PTTool.WillSelectAnnotation(PTAnnot, nuint)
PTTool.Dispose(Boolean)
PTTool.AllowScrolling
PTTool.AllowZoom
PTTool.AnnotClass
PTTool.AnnotType
PTTool.AnnotationAuthor
PTTool.AnnotationPageNumber
PTTool.BackToPanToolAfterUse
PTTool.CanEditStyle
PTTool.ClassAnnotType
PTTool.ClassCanEditStyle
PTTool.ClassCreatesAnnotation
PTTool.CreatesAnnotation
PTTool.CurrentAnnotation
PTTool.DefaultClass
PTTool.Identifier
PTTool.Image
PTTool.LocalizedName
PTTool.LongPressPoint
PTTool.NewTool
PTTool.NextToolType
PTTool.PageIndicatorIsVisible
PTTool.PdfViewCtrl
PTTool.PreviousToolType
PTTool.TextMarkupAdobeHack
PTTool.ToolManager
PTTool.UndoManagerEnabled
Namespace: pdftron.PDF.Tools
Assembly: Tools.dll
Syntax
public class PTSmartPen : PTTool, IPTNoteEditControllerDelegate, IPTOverridable, IPTToolSwitching, IPTPDFViewCtrlToolDelegate, INativeObject, IDisposable, IUIAdaptivePresentationControllerDelegate, IUIGestureRecognizerDelegate, IUIPopoverPresentationControllerDelegate

Constructors

PTSmartPen()

Declaration
public PTSmartPen()

PTSmartPen(NSCoder)

Declaration
public PTSmartPen(NSCoder coder)
Parameters
Type Name Description
Foundation.NSCoder coder

PTSmartPen(NSObjectFlag)

Declaration
protected PTSmartPen(NSObjectFlag t)
Parameters
Type Name Description
Foundation.NSObjectFlag t

PTSmartPen(IntPtr)

Declaration
protected PTSmartPen(IntPtr handle)
Parameters
Type Name Description
System.IntPtr handle

Properties

AnnotationStylePresets

Declaration
public virtual PTAnnotationStylePresetsGroup AnnotationStylePresets { get; }
Property Value
Type Description
PTAnnotationStylePresetsGroup

Appearance

Declaration
public static PTSmartPen.PTSmartPenAppearance Appearance { get; }
Property Value
Type Description
PTSmartPen.PTSmartPenAppearance

ClassHandle

Declaration
public override IntPtr ClassHandle { get; }
Property Value
Type Description
System.IntPtr
Overrides
PTTool.ClassHandle

DefaultSecondaryToolClass

Declaration
public static Class DefaultSecondaryToolClass { get; set; }
Property Value
Type Description
ObjCRuntime.Class

PrimaryTool

Declaration
public virtual PTFreeHandCreate PrimaryTool { get; }
Property Value
Type Description
PTFreeHandCreate

SecondaryTool

Declaration
public virtual PTTextMarkupCreate SecondaryTool { get; }
Property Value
Type Description
PTTextMarkupCreate

SecondaryToolClass

Declaration
public virtual Class SecondaryToolClass { get; set; }
Property Value
Type Description
ObjCRuntime.Class

Methods

AppearanceWhenContainedIn(Type[])

Declaration
public static PTSmartPen.PTSmartPenAppearance AppearanceWhenContainedIn(params Type[] containers)
Parameters
Type Name Description
System.Type[] containers
Returns
Type Description
PTSmartPen.PTSmartPenAppearance

EditAnnotationStyle(PTAnnotStyle)

Declaration
public virtual void EditAnnotationStyle(PTAnnotStyle annotationStyle)
Parameters
Type Name Description
PTAnnotStyle annotationStyle

GetAppearance(UITraitCollection)

Declaration
public static PTSmartPen.PTSmartPenAppearance GetAppearance(UITraitCollection traits)
Parameters
Type Name Description
UIKit.UITraitCollection traits
Returns
Type Description
PTSmartPen.PTSmartPenAppearance

GetAppearance(UITraitCollection, Type[])

Declaration
public static PTSmartPen.PTSmartPenAppearance GetAppearance(UITraitCollection traits, params Type[] containers)
Parameters
Type Name Description
UIKit.UITraitCollection traits
System.Type[] containers
Returns
Type Description
PTSmartPen.PTSmartPenAppearance

GetAppearance<T>()

Declaration
public static PTSmartPen.PTSmartPenAppearance GetAppearance<T>()
    where T : PTSmartPen
Returns
Type Description
PTSmartPen.PTSmartPenAppearance
Type Parameters
Name Description
T

GetAppearance<T>(UITraitCollection)

Declaration
public static PTSmartPen.PTSmartPenAppearance GetAppearance<T>(UITraitCollection traits)
    where T : PTSmartPen
Parameters
Type Name Description
UIKit.UITraitCollection traits
Returns
Type Description
PTSmartPen.PTSmartPenAppearance
Type Parameters
Name Description
T

GetAppearance<T>(UITraitCollection, Type[])

Declaration
public static PTSmartPen.PTSmartPenAppearance GetAppearance<T>(UITraitCollection traits, params Type[] containers)
    where T : PTSmartPen
Parameters
Type Name Description
UIKit.UITraitCollection traits
System.Type[] containers
Returns
Type Description
PTSmartPen.PTSmartPenAppearance
Type Parameters
Name Description
T

Implements

IPTNoteEditControllerDelegate
IPTOverridable
IPTToolSwitching
IPTPDFViewCtrlToolDelegate
ObjCRuntime.INativeObject
System.IDisposable
UIKit.IUIAdaptivePresentationControllerDelegate
UIKit.IUIGestureRecognizerDelegate
UIKit.IUIPopoverPresentationControllerDelegate
Back to top Generated by DocFX