Conversion Classes

  • Convert the input file to XPS format and save to the specified path

    See

    XPSOutputOptions

    See

    ToPdf()

    Note

    Requires the Convert::Printer class for all file formats that ToPdf also requires.

    See more

    Declaration

    Objective-C

    @interface PTConvert : NSObject

    Swift

    class PTConvert : NSObject

    Parameters

    in_inputFilename

    the file to convert to XPS

    in_outputFilename

    the path to the XPS file to create

    options

    the conversion options

  • The class DocumentConversion. Encapsulates the conversion of a single document from one format to another.

    DocumentConversion instances are created through methods belonging to the Convert class. See Convert.WordToPDFConversion for an example.

    See more

    Declaration

    Objective-C

    @interface PTDocumentConversion : NSObject

    Swift

    class PTDocumentConversion : NSObject
  • A class containing options common to ToEpub functions

    See more

    Declaration

    Objective-C

    @interface PTEPUBOutputOptions : NSObject

    Swift

    class PTEPUBOutputOptions : NSObject
  • A class containing options common to ToHtml and ToEpub functions

    See more

    Declaration

    Objective-C

    @interface PTHTMLOutputOptions : NSObject

    Swift

    class PTHTMLOutputOptions : NSObject
  • A class containing options for ToSvg functions

    See more

    Declaration

    Objective-C

    @interface PTSVGOutputOptions : NSObject

    Swift

    class PTSVGOutputOptions : NSObject
  • A class containing options for ToTiff functions

    See more

    Declaration

    Objective-C

    @interface PTTiffOutputOptions : NSObject

    Swift

    class PTTiffOutputOptions : NSObject
  • Undocumented

    See more

    Declaration

    Objective-C

    @interface PTWordToPDFOptions : PTConversionOptions
    
    
    
    
    - (NSString *)GetLayoutResourcesPluginPath;
    - (PTWordToPDFOptions*)SetLayoutResourcesPluginPath: (NSString *)value;
    - (NSString *)GetResourceDocPath;
    - (PTWordToPDFOptions*)SetResourceDocPath: (NSString *)value;
    - (NSString *)GetSmartSubstitutionPluginPath;
    - (PTWordToPDFOptions*)SetSmartSubstitutionPluginPath: (NSString *)value;
    - (instancetype)init;
    @end

    Swift

    class PTWordToPDFOptions : PTConversionOptions
  • A class containing options for ToXod functions

    See more

    Declaration

    Objective-C

    @interface PTXODOutputOptions : PTXPSOutputCommonOptions

    Swift

    class PTXODOutputOptions : PTXPSOutputCommonOptions
  • A class containing options common to ToXps and ToXod functions

    See more

    Declaration

    Objective-C

    @interface PTXPSOutputCommonOptions : NSObject

    Swift

    class PTXPSOutputCommonOptions : NSObject
  • A class containing options for ToXps functions

    See more

    Declaration

    Objective-C

    @interface PTXPSOutputOptions : PTXPSOutputCommonOptions

    Swift

    class PTXPSOutputOptions : PTXPSOutputCommonOptions