Show / Hide Table of Contents

Class PTCreateToolBase

Inheritance
System.Object
PTTool
PTCreateToolBase
PTArrowCreate
PTEllipseCreate
PTEraser
PTFreeHandCreate
PTImageStampCreate
PTLineCreate
PTLinkCreate
PTPencilDrawingCreate
PTPolylineCreate
PTRectangleCreate
PTRubberStampCreate
PTStickyNoteCreate
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.CalculateAnnotationPosition(PTExtendedAnnotType, Int32, Boolean)
PTTool.CanEditAnnotation(PTAnnot, nuint)
PTTool.CommitAnnotation()
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.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 PTCreateToolBase : PTTool, IPTNoteEditControllerDelegate, IPTOverridable, IPTToolSwitching, IPTPDFViewCtrlToolDelegate

Constructors

PTCreateToolBase()

Declaration
public PTCreateToolBase()

PTCreateToolBase(NSCoder)

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

PTCreateToolBase(NSObjectFlag)

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

PTCreateToolBase(IntPtr)

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

Properties

Appearance

Declaration
public static PTCreateToolBase.PTCreateToolBaseAppearance Appearance { get; }
Property Value
Type Description
PTCreateToolBase.PTCreateToolBaseAppearance

ClassHandle

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

DrawArea

Declaration
public virtual CGRect DrawArea { get; }
Property Value
Type Description
CoreGraphics.CGRect

EndPoint

Declaration
public virtual CGPoint EndPoint { get; set; }
Property Value
Type Description
CoreGraphics.CGPoint

EndStyle

Declaration
public virtual Line.EndingStyle EndStyle { get; }
Property Value
Type Description
pdftron.PDF.Annots.Line.EndingStyle

PageNumber

Declaration
public virtual int PageNumber { get; }
Property Value
Type Description
System.Int32

RequiresEditSupport

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

StartPoint

Declaration
public virtual CGPoint StartPoint { get; set; }
Property Value
Type Description
CoreGraphics.CGPoint

StartStyle

Declaration
public virtual Line.EndingStyle StartStyle { get; }
Property Value
Type Description
pdftron.PDF.Annots.Line.EndingStyle

Thickness

Declaration
public virtual double Thickness { get; }
Property Value
Type Description
System.Double

Methods

AppearanceWhenContainedIn(Type[])

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

BoundToPageScreenPoint(CGPoint, nfloat)

Declaration
public virtual CGPoint BoundToPageScreenPoint(CGPoint touchPoint, nfloat thickness)
Parameters
Type Name Description
CoreGraphics.CGPoint touchPoint
System.nfloat thickness
Returns
Type Description
CoreGraphics.CGPoint

BoundToPageScreenPoint(CGPoint, nfloat, nfloat, nfloat, nfloat)

Declaration
public virtual CGPoint BoundToPageScreenPoint(CGPoint touchPoint, nfloat left, nfloat right, nfloat bottom, nfloat top)
Parameters
Type Name Description
CoreGraphics.CGPoint touchPoint
System.nfloat left
System.nfloat right
System.nfloat bottom
System.nfloat top
Returns
Type Description
CoreGraphics.CGPoint

CreateAnnotationWithDoc(PTPDFDoc, PTPDFRect)

Declaration
public virtual PTAnnot CreateAnnotationWithDoc(PTPDFDoc doc, PTPDFRect myRect)
Parameters
Type Name Description
PTPDFDoc doc
PTPDFRect myRect
Returns
Type Description
PTAnnot

GetAppearance(UITraitCollection)

Declaration
public static PTCreateToolBase.PTCreateToolBaseAppearance GetAppearance(UITraitCollection traits)
Parameters
Type Name Description
UIKit.UITraitCollection traits
Returns
Type Description
PTCreateToolBase.PTCreateToolBaseAppearance

GetAppearance(UITraitCollection, Type[])

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

GetAppearance<T>()

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

GetAppearance<T>(UITraitCollection)

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

GetAppearance<T>(UITraitCollection, Type[])

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

SetPropertiesFromAnnotation(PTAnnot)

Declaration
public virtual void SetPropertiesFromAnnotation(PTAnnot annotation)
Parameters
Type Name Description
PTAnnot annotation

SetupContext(CGContext)

Declaration
public virtual double SetupContext(CGContext currentContext)
Parameters
Type Name Description
CoreGraphics.CGContext currentContext
Returns
Type Description
System.Double

Implements

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