Class PTSignaturesManager
Inheritance
System.Object
PTSignaturesManager
Implements
ObjCRuntime.INativeObject
System.IDisposable
Assembly: Tools.dll
public class PTSignaturesManager : NSObject, IPTOverridable, INativeObject, IDisposable
Constructors
Declaration
public PTSignaturesManager()
Declaration
protected PTSignaturesManager(NSObjectFlag t)
Parameters
Type |
Name |
Description |
Foundation.NSObjectFlag |
t |
|
Declaration
protected PTSignaturesManager(IntPtr handle)
Parameters
Type |
Name |
Description |
System.IntPtr |
handle |
|
Properties
Declaration
public override IntPtr ClassHandle { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Declaration
public PTSignaturesManagerDelegate Delegate { get; set; }
Property Value
Declaration
public virtual nint LastSelectedSignatureIndex { get; }
Property Value
Type |
Description |
System.nint |
|
Declaration
public virtual nuint NumberOfSavedSignatures { get; }
Property Value
Type |
Description |
System.nuint |
|
Declaration
public virtual bool ShowDefaultSignature { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual NSObject WeakDelegate { get; set; }
Property Value
Type |
Description |
Foundation.NSObject |
|
Methods
Declaration
public virtual PTPDFDoc CreateSignature(NSMutableArray points, UIColor strokeColor, nfloat thickness, CGRect rect, bool saveSignature)
Parameters
Type |
Name |
Description |
Foundation.NSMutableArray |
points |
|
UIKit.UIColor |
strokeColor |
|
System.nfloat |
thickness |
|
CoreGraphics.CGRect |
rect |
|
System.Boolean |
saveSignature |
|
Returns
Declaration
public virtual PTPDFDoc CreateSignatureWithImage(UIImage image, NSData data, bool saveSignature)
Parameters
Type |
Name |
Description |
UIKit.UIImage |
image |
|
Foundation.NSData |
data |
|
System.Boolean |
saveSignature |
|
Returns
CreateSignatureWithText(String, UIFont, UIColor, Boolean)
Declaration
public virtual PTPDFDoc CreateSignatureWithText(string text, UIFont font, UIColor strokeColor, bool saveSignature)
Parameters
Type |
Name |
Description |
System.String |
text |
|
UIKit.UIFont |
font |
|
UIKit.UIColor |
strokeColor |
|
System.Boolean |
saveSignature |
|
Returns
Declaration
public virtual bool DeleteSignatureAtIndex(nint index)
Parameters
Type |
Name |
Description |
System.nint |
index |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Declaration
public virtual string FileNameOfSavedSignatureAtIndex(nint index)
Parameters
Type |
Name |
Description |
System.nint |
index |
|
Returns
Type |
Description |
System.String |
|
Declaration
public virtual UIImage ImageOfDoc(PTPDFDoc doc, nuint dpi)
Parameters
Type |
Name |
Description |
PTPDFDoc |
doc |
|
System.nuint |
dpi |
|
Returns
Type |
Description |
UIKit.UIImage |
|
Declaration
public virtual UIImage ImageOfDoc(PTPDFDoc doc, nuint dpi, nfloat thickness)
Parameters
Type |
Name |
Description |
PTPDFDoc |
doc |
|
System.nuint |
dpi |
|
System.nfloat |
thickness |
|
Returns
Type |
Description |
UIKit.UIImage |
|
Declaration
public virtual UIImage ImageOfSavedSignatureAtIndex(nint index, nuint dpi)
Parameters
Type |
Name |
Description |
System.nint |
index |
|
System.nuint |
dpi |
|
Returns
Type |
Description |
UIKit.UIImage |
|
Declaration
public virtual UIImage ImageOfSavedSignatureAtIndex(nint index, nuint dpi, nfloat thickness)
Parameters
Type |
Name |
Description |
System.nint |
index |
|
System.nuint |
dpi |
|
System.nfloat |
thickness |
|
Returns
Type |
Description |
UIKit.UIImage |
|
Declaration
public virtual bool MoveSignatureAtIndex(nint fromIndex, nint toIndex)
Parameters
Type |
Name |
Description |
System.nint |
fromIndex |
|
System.nint |
toIndex |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public virtual PTPDFDoc SavedSignatureAtIndex(nint index)
Parameters
Type |
Name |
Description |
System.nint |
index |
|
Returns
Implements
ObjCRuntime.INativeObject
System.IDisposable