Class PTSignaturesManager
Inheritance
System.Object
PTSignaturesManager
Implements
ObjCRuntime.INativeObject
System.IDisposable
Assembly: Tools.dll
public class PTSignaturesManager : NSObject, IPTOverridable
Constructors
Declaration
public PTSignaturesManager()
Declaration
protected PTSignaturesManager(NSObjectFlag t)
Parameters
Type |
Name |
Description |
Foundation.NSObjectFlag |
t |
|
Declaration
protected PTSignaturesManager(NativeHandle handle)
Parameters
Type |
Name |
Description |
ObjCRuntime.NativeHandle |
handle |
|
Properties
Declaration
public override NativeHandle ClassHandle { get; }
Property Value
Type |
Description |
ObjCRuntime.NativeHandle |
|
Declaration
public PTSignaturesManagerDelegate Delegate { get; set; }
Property Value
Declaration
public virtual IntPtr LastSelectedSignatureIndex { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Declaration
public virtual UIntPtr NumberOfSavedSignatures { get; }
Property Value
Type |
Description |
System.UIntPtr |
|
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.Runtime.InteropServices.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(IntPtr index)
Parameters
Type |
Name |
Description |
System.IntPtr |
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(IntPtr index)
Parameters
Type |
Name |
Description |
System.IntPtr |
index |
|
Returns
Type |
Description |
System.String |
|
Declaration
public virtual UIImage ImageOfDoc(PTPDFDoc doc, UIntPtr dpi)
Parameters
Type |
Name |
Description |
PTPDFDoc |
doc |
|
System.UIntPtr |
dpi |
|
Returns
Type |
Description |
UIKit.UIImage |
|
Declaration
public virtual UIImage ImageOfDoc(PTPDFDoc doc, UIntPtr dpi, NFloat thickness)
Parameters
Type |
Name |
Description |
PTPDFDoc |
doc |
|
System.UIntPtr |
dpi |
|
System.Runtime.InteropServices.NFloat |
thickness |
|
Returns
Type |
Description |
UIKit.UIImage |
|
Declaration
public virtual UIImage ImageOfSavedSignatureAtIndex(IntPtr index, UIntPtr dpi)
Parameters
Type |
Name |
Description |
System.IntPtr |
index |
|
System.UIntPtr |
dpi |
|
Returns
Type |
Description |
UIKit.UIImage |
|
Declaration
public virtual UIImage ImageOfSavedSignatureAtIndex(IntPtr index, UIntPtr dpi, NFloat thickness)
Parameters
Type |
Name |
Description |
System.IntPtr |
index |
|
System.UIntPtr |
dpi |
|
System.Runtime.InteropServices.NFloat |
thickness |
|
Returns
Type |
Description |
UIKit.UIImage |
|
Declaration
public virtual bool MoveSignatureAtIndex(IntPtr fromIndex, IntPtr toIndex)
Parameters
Type |
Name |
Description |
System.IntPtr |
fromIndex |
|
System.IntPtr |
toIndex |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public virtual PTPDFDoc SavedSignatureAtIndex(IntPtr index)
Parameters
Type |
Name |
Description |
System.IntPtr |
index |
|
Returns
Implements
ObjCRuntime.INativeObject
System.IDisposable