Show / Hide Table of Contents

Class PTPencilDrawingCreate

Inheritance
System.Object
PTTool
PTCreateToolBase
PTPencilDrawingCreate
Implements
IPTNoteEditControllerDelegate
IPTOverridable
IPTToolSwitching
IPTPDFViewCtrlToolDelegate
ObjCRuntime.INativeObject
System.IDisposable
UIKit.IUIAdaptivePresentationControllerDelegate
UIKit.IUIGestureRecognizerDelegate
UIKit.IUIPopoverPresentationControllerDelegate
Inherited Members
PTCreateToolBase.BoundToPageScreenPoint(CGPoint, nfloat)
PTCreateToolBase.BoundToPageScreenPoint(CGPoint, nfloat, nfloat, nfloat, nfloat)
PTCreateToolBase.CreateAnnotationWithDoc(PTPDFDoc, PTPDFRect)
PTCreateToolBase.SetPropertiesFromAnnotation(PTAnnot)
PTCreateToolBase.SetupContext(CGContext)
PTCreateToolBase.DrawArea
PTCreateToolBase.EndPoint
PTCreateToolBase.EndStyle
PTCreateToolBase.PageNumber
PTCreateToolBase.RequiresEditSupport
PTCreateToolBase.StartPoint
PTCreateToolBase.StartStyle
PTCreateToolBase.Thickness
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.CalculateAnnotationPosition(PTExtendedAnnotType, Int32, Boolean)
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.DidEndDisplayingAppearanceView(UIView, PTAnnot, Int32)
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.ModifyAnnotation(PTAnnot, nuint, Action<PTAnnot, Int32>)
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.RemoveAllSnappingViews()
PTTool.RemoveAppearanceViews()
PTTool.ScreenRectOfMovingAnnotationClosestToPosition(CGRect)
PTTool.ScreenRectOfResizingAnnotationClosestToPosition(CGRect)
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.ShowDisableSnappingMenuIfSnappingHasOccurred()
PTTool.ShowSelectionMenu(CGRect, Boolean)
PTTool.ShowSelectionMenu(CGRect)
PTTool.TouchesShouldBegin(PTPDFViewCtrl, NSSet<UITouch>, UIEvent, UIView)
PTTool.TouchesShouldCancelInContentView(PTPDFViewCtrl, UIView)
PTTool.WillCopyReturnedText(String, UIPasteboard)
PTTool.WillDisplayAppearanceView(UIView, PTAnnot, Int32)
PTTool.WillFlattenAnnotation(PTAnnot, nuint)
PTTool.WillModifyAnnotation(PTAnnot, nuint)
PTTool.WillRemoveAnnotation(PTAnnot, nuint)
PTTool.WillSelectAnnotation(PTAnnot, nuint)
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 PTPencilDrawingCreate : PTCreateToolBase, IPTNoteEditControllerDelegate, IPTOverridable, IPTToolSwitching, IPTPDFViewCtrlToolDelegate

Constructors

PTPencilDrawingCreate()

Declaration
public PTPencilDrawingCreate()

PTPencilDrawingCreate(NSCoder)

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

PTPencilDrawingCreate(NSObjectFlag)

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

PTPencilDrawingCreate(IntPtr)

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

Properties

Appearance

Declaration
public static PTPencilDrawingCreate.PTPencilDrawingCreateAppearance Appearance { get; }
Property Value
Type Description
PTPencilDrawingCreate.PTPencilDrawingCreateAppearance

CanvasView

Declaration
public virtual PTCanvasView CanvasView { get; set; }
Property Value
Type Description
PTCanvasView

ClassHandle

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

Delegate

Declaration
public PTPencilDrawingCreateDelegate Delegate { get; set; }
Property Value
Type Description
PTPencilDrawingCreateDelegate

ShouldShowToolPicker

Declaration
public virtual bool ShouldShowToolPicker { get; set; }
Property Value
Type Description
System.Boolean

WeakDelegate

Declaration
public virtual NSObject WeakDelegate { get; set; }
Property Value
Type Description
Foundation.NSObject

Methods

AppearanceWhenContainedIn(Type[])

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

CancelEditingAnnotation()

Declaration
public virtual void CancelEditingAnnotation()

CommitAnnotation()

Declaration
public virtual void CommitAnnotation()

Dispose(Boolean)

Declaration
protected override void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing
Overrides
PTTool.Dispose(Boolean)

EditAnnotation(PTAnnot, Int32)

Declaration
public virtual void EditAnnotation(PTAnnot annot, int pageNumber)
Parameters
Type Name Description
PTAnnot annot
System.Int32 pageNumber

GetAppearance(UITraitCollection)

Declaration
public static PTPencilDrawingCreate.PTPencilDrawingCreateAppearance GetAppearance(UITraitCollection traits)
Parameters
Type Name Description
UIKit.UITraitCollection traits
Returns
Type Description
PTPencilDrawingCreate.PTPencilDrawingCreateAppearance

GetAppearance(UITraitCollection, Type[])

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

GetAppearance<T>()

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

GetAppearance<T>(UITraitCollection)

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

GetAppearance<T>(UITraitCollection, Type[])

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

Events

StrokeAdded

Declaration
public event EventHandler StrokeAdded
Event Type
Type Description
System.EventHandler

Implements

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