Class PTFileAttachmentHandler
Inheritance
System.Object
PTFileAttachmentHandler
Assembly: Tools.dll
Syntax
public class PTFileAttachmentHandler : NSObject
Constructors
PTFileAttachmentHandler()
Declaration
public PTFileAttachmentHandler()
PTFileAttachmentHandler(NSObjectFlag)
Declaration
protected PTFileAttachmentHandler(NSObjectFlag t)
Parameters
Type |
Name |
Description |
Foundation.NSObjectFlag |
t |
|
PTFileAttachmentHandler(NativeHandle)
Declaration
protected PTFileAttachmentHandler(NativeHandle handle)
Parameters
Type |
Name |
Description |
ObjCRuntime.NativeHandle |
handle |
|
Properties
ClassHandle
Declaration
public override NativeHandle ClassHandle { get; }
Property Value
Type |
Description |
ObjCRuntime.NativeHandle |
|
Delegate
Declaration
public PTFileAttachmentHandlerDelegate Delegate { get; set; }
Property Value
WeakDelegate
Declaration
public virtual NSObject WeakDelegate { get; set; }
Property Value
Type |
Description |
Foundation.NSObject |
|
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
ExportFileAttachment(PTFileAttachment, PTPDFDoc)
Declaration
public virtual void ExportFileAttachment(PTFileAttachment fileAttachment, PTPDFDoc doc)
Parameters
ExportFileAttachment(PTFileAttachment, PTPDFDoc, Action<NSUrl, NSError>)
Declaration
public virtual void ExportFileAttachment(PTFileAttachment fileAttachment, PTPDFDoc doc, Action<NSUrl, NSError> completion)
Parameters
Type |
Name |
Description |
PTFileAttachment |
fileAttachment |
|
PTPDFDoc |
doc |
|
System.Action<Foundation.NSUrl, Foundation.NSError> |
completion |
|
FilenameForFileAttachment(PTFileAttachment, PTPDFDoc, out NSError)
Declaration
public static string FilenameForFileAttachment(PTFileAttachment fileAttachment, PTPDFDoc pdfDoc, out NSError error)
Parameters
Returns
Type |
Description |
System.String |
|
Events
DidExportFileAttachment
Declaration
public event EventHandler<DidExportFileAttachmentEventArgs> DidExportFileAttachment
Event Type
DidFailToExportFileAttachment
Declaration
public event EventHandler<DidFailToExportFileAttachmentEventArgs> DidFailToExportFileAttachment
Event Type