Class PTConvert
Inheritance
System.Object
PTConvert
Assembly: PDFNetiOS.dll
Syntax
public class PTConvert : NSObject
Constructors
PTConvert()
Declaration
PTConvert(NSObjectFlag)
Declaration
protected PTConvert(NSObjectFlag t)
Parameters
Type |
Name |
Description |
Foundation.NSObjectFlag |
t |
|
PTConvert(NativeHandle)
Declaration
protected PTConvert(NativeHandle handle)
Parameters
Type |
Name |
Description |
ObjCRuntime.NativeHandle |
handle |
|
Properties
ClassHandle
Declaration
public override NativeHandle ClassHandle { get; }
Property Value
Type |
Description |
ObjCRuntime.NativeHandle |
|
Methods
ConvertHTMLStringToPDF(String, NSUrl, CGSize, Action<NSString>)
Declaration
public static void ConvertHTMLStringToPDF(string htmlString, NSUrl baseURL, CGSize paperSize, Action<NSString> completion)
Parameters
Type |
Name |
Description |
System.String |
htmlString |
|
Foundation.NSUrl |
baseURL |
|
CoreGraphics.CGSize |
paperSize |
|
System.Action<Foundation.NSString> |
completion |
|
ConvertOfficeToPDF(String, CGSize, Action<NSString>)
Declaration
public static void ConvertOfficeToPDF(string filePath, CGSize paperSize, Action<NSString> completion)
Parameters
Type |
Name |
Description |
System.String |
filePath |
|
CoreGraphics.CGSize |
paperSize |
|
System.Action<Foundation.NSString> |
completion |
|
ToPdf(PTPDFDoc, String)
Declaration
public static void ToPdf(PTPDFDoc in_pdfdoc, string in_filename)
Parameters
Type |
Name |
Description |
PTPDFDoc |
in_pdfdoc |
|
System.String |
in_filename |
|