Class PTCreateToolBase
Inheritance
System.Object
PTCreateToolBase
Implements
ObjCRuntime.INativeObject
System.IDisposable
UIKit.IUIAdaptivePresentationControllerDelegate
UIKit.IUIGestureRecognizerDelegate
UIKit.IUIPopoverPresentationControllerDelegate
Assembly: Tools.dll
public class PTCreateToolBase : PTTool, IPTNoteEditControllerDelegate, IPTOverridable, IPTToolSwitching, IPTPDFViewCtrlToolDelegate
Constructors
Declaration
public PTCreateToolBase()
Declaration
public PTCreateToolBase(NSCoder coder)
Parameters
Type |
Name |
Description |
Foundation.NSCoder |
coder |
|
Declaration
protected PTCreateToolBase(NSObjectFlag t)
Parameters
Type |
Name |
Description |
Foundation.NSObjectFlag |
t |
|
Declaration
protected PTCreateToolBase(IntPtr handle)
Parameters
Type |
Name |
Description |
System.IntPtr |
handle |
|
Properties
Declaration
public static PTCreateToolBase.PTCreateToolBaseAppearance Appearance { get; }
Property Value
Declaration
public override IntPtr ClassHandle { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Overrides
Declaration
public virtual CGRect DrawArea { get; }
Property Value
Type |
Description |
CoreGraphics.CGRect |
|
Declaration
public virtual CGPoint EndPoint { get; set; }
Property Value
Type |
Description |
CoreGraphics.CGPoint |
|
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 |
|
Declaration
public virtual bool RequiresEditSupport { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual CGPoint StartPoint { get; set; }
Property Value
Type |
Description |
CoreGraphics.CGPoint |
|
Declaration
public virtual Line.EndingStyle StartStyle { get; }
Property Value
Type |
Description |
pdftron.PDF.Annots.Line.EndingStyle |
|
Declaration
public virtual double Thickness { get; }
Property Value
Type |
Description |
System.Double |
|
Methods
Declaration
public static PTCreateToolBase.PTCreateToolBaseAppearance AppearanceWhenContainedIn(params Type[] containers)
Parameters
Type |
Name |
Description |
System.Type[] |
containers |
|
Returns
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 |
|
Declaration
public virtual PTAnnot CreateAnnotationWithDoc(PTPDFDoc doc, PTPDFRect myRect)
Parameters
Returns
Declaration
public static PTCreateToolBase.PTCreateToolBaseAppearance GetAppearance(UITraitCollection traits)
Parameters
Type |
Name |
Description |
UIKit.UITraitCollection |
traits |
|
Returns
Declaration
public static PTCreateToolBase.PTCreateToolBaseAppearance GetAppearance(UITraitCollection traits, params Type[] containers)
Parameters
Type |
Name |
Description |
UIKit.UITraitCollection |
traits |
|
System.Type[] |
containers |
|
Returns
Declaration
public static PTCreateToolBase.PTCreateToolBaseAppearance GetAppearance<T>()
where T : PTCreateToolBase
Returns
Type Parameters
Declaration
public static PTCreateToolBase.PTCreateToolBaseAppearance GetAppearance<T>(UITraitCollection traits)
where T : PTCreateToolBase
Parameters
Type |
Name |
Description |
UIKit.UITraitCollection |
traits |
|
Returns
Type Parameters
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 Parameters
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
ObjCRuntime.INativeObject
System.IDisposable
UIKit.IUIAdaptivePresentationControllerDelegate
UIKit.IUIGestureRecognizerDelegate
UIKit.IUIPopoverPresentationControllerDelegate