Class Convert.PowerPointOutputOptions
A class containing options common to ToPowerPoint functions
Inheritance
Inherited Members
Namespace: pdftron.PDF
Assembly: PDFNetiOS.dll
Syntax
public class PowerPointOutputOptions
Constructors
PowerPointOutputOptions()
Creates a PowerPointOutputOptions object with default settings
Declaration
public PowerPointOutputOptions()
Methods
SetCustomOCRLanguage(String)
Specifies the custom OCR languages to use. Use 3-letter ISO 639-2 language codes, separated by spaces. Example: "eng deu spa fra". The default is English.
Declaration
public void SetCustomOCRLanguage(string ocrlang)
Parameters
Type | Name | Description |
---|---|---|
System.String | ocrlang | the OCR language(s). |
SetLanguage(Convert.OutputOptionsOCR.LanguageChoice)
Specifies the OCR language. Default is automatic language detection.
Declaration
public void SetLanguage(Convert.OutputOptionsOCR.LanguageChoice language)
Parameters
Type | Name | Description |
---|---|---|
Convert.OutputOptionsOCR.LanguageChoice | language | the OCR language. |
SetPages(Int32, Int32)
Specifies a range of pages to be converted. By default all pages are converted. The first page has the page number of 1.
Declaration
public void SetPages(int page_from, int page_to)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | page_from | the first page to be converted. |
System.Int32 | page_to | the last page to be converted (inclusive). Use a negative value to specify the last page in the PDF. |
SetPDFPassword(String)
Specifies the password if the PDF requires one.
Declaration
public void SetPDFPassword(string password)
Parameters
Type | Name | Description |
---|---|---|
System.String | password | the PDF password, if required; an empty string otherwise. |
SetPreferredOCREngine(Convert.OutputOptionsOCR.PreferredOCREngine)
Specifies the preferred OCR engine.
Declaration
public void SetPreferredOCREngine(Convert.OutputOptionsOCR.PreferredOCREngine engine)
Parameters
Type | Name | Description |
---|---|---|
Convert.OutputOptionsOCR.PreferredOCREngine | engine | the preferred OCR engine. |