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_fromthe first page to be converted.
page_tothe 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
passwordthe 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
languagethe OCR language.
-
Specifies preferred OCR engine.
Declaration
Objective-C
- (void)SetPreferredOCREngine:(PTPreferredOCREngine)engine;Swift
func setPreferredOCREngine(_ engine: PTPreferredOCREngine)Parameters
engineThe PreferredOCREngine to OCR.
-
Specifies the custom OCR languages to use.
Note
Use 3-letter ISO 639-2 language codes, separated by spaces. Example: “eng deu spa fra”. The default is English.Declaration
Objective-C
- (void)SetCustomOCRLanguage:(NSString *)ocrlang;Swift
func setCustomOCRLanguage(_ ocrlang: String!)Parameters
ocrlangthe OCR language(s).
PTPowerPointOutputOptions Class Reference