PTPowerPointOutputOptions

@interface PTPowerPointOutputOptions : NSObject

A class containing options common to ToPowerPoint functions

  • Creates a PowerPointOutputOptions object with default settings.

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()
  • Specifies a range of pages to be converted. By default all pages are converted. The first page has the page number of 1.

    Declaration

    Objective-C

    - (void)SetPages:(int)page_from page_to:(int)page_to;

    Swift

    func setPages(_ page_from: Int32, page_to: Int32)

    Parameters

    page_from

    the first page to be converted.

    page_to

    the last page to be converted (inclusive). Use a negative value to specify the last page in the PDF.

  • Specifies the password if the PDF requires one.

    Declaration

    Objective-C

    - (void)SetPDFPassword:(NSString *)password;

    Swift

    func setPDFPassword(_ password: String!)

    Parameters

    password

    the PDF password, if required; an empty string otherwise.

  • Specifies the OCR language. Default is automatic language detection.

    Declaration

    Objective-C

    - (void)SetLanguage:(PTLanguageChoice)language;

    Swift

    func setLanguage(_ language: PTLanguageChoice)

    Parameters

    language

    the OCR language.