Show / Hide Table of Contents

Class Convert.PowerPointOutputOptions

A class containing options common to ToPowerPoint functions

Inheritance
object
Convert.PowerPointOutputOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: pdftron.PDF
Assembly: PDFTronDotNet.dll
Syntax
public class Convert.PowerPointOutputOptions

Constructors

PowerPointOutputOptions()

Creates a PowerPointOutputOptions object with default settings

Declaration
public PowerPointOutputOptions()

Methods

GetFootnotesSetting()

Get the setting for footnotes from this options object.

Declaration
public Convert.StructuredOutputOptions.SectionConversionSetting GetFootnotesSetting()
Returns
Type Description
Convert.StructuredOutputOptions.SectionConversionSetting

The current footnote setting.

GetHeadersAndFootersSetting()

Get the setting for headers and footers from this options object.

Declaration
public Convert.StructuredOutputOptions.SectionConversionSetting GetHeadersAndFootersSetting()
Returns
Type Description
Convert.StructuredOutputOptions.SectionConversionSetting

The current header and footer setting.

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
string ocrlang

the OCR language(s).

SetFootnotesSetting(SectionConversionSetting)

Specifies how footnotes should be converted. Default is e_Recover, which will include them as footnotes.

Declaration
public void SetFootnotesSetting(Convert.StructuredOutputOptions.SectionConversionSetting option)
Parameters
Type Name Description
Convert.StructuredOutputOptions.SectionConversionSetting option

The footnotes setting.

SetHeadersAndFootersSetting(SectionConversionSetting)

Specifies how header and footers should be converted. Default is e_Recover, which will include them as headers and footers.

Declaration
public void SetHeadersAndFootersSetting(Convert.StructuredOutputOptions.SectionConversionSetting option)
Parameters
Type Name Description
Convert.StructuredOutputOptions.SectionConversionSetting option

The header and footer setting.

SetLanguage(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.

SetPDFPassword(string)

Specifies the password if the PDF requires one.

Declaration
public void SetPDFPassword(string password)
Parameters
Type Name Description
string password

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

SetPages(int, int)

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
int page_from

the first page to be converted.

int page_to

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

SetPreferredOCREngine(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.

SetSearchableImageSetting(SearchableImageSetting)

Specifies how scanned image pages should be converted. Default is e_ocr_text.

Declaration
public void SetSearchableImageSetting(Convert.PowerPointOutputOptions.SearchableImageSetting setting)
Parameters
Type Name Description
Convert.PowerPointOutputOptions.SearchableImageSetting setting

the searchable image setting.

Remarks

Pre-existing OCRed content is ignored and a new OCR is performed from scratch.

In This Article
  • Constructors
    • PowerPointOutputOptions()
  • Methods
    • GetFootnotesSetting()
    • GetHeadersAndFootersSetting()
    • SetCustomOCRLanguage(string)
    • SetFootnotesSetting(SectionConversionSetting)
    • SetHeadersAndFootersSetting(SectionConversionSetting)
    • SetLanguage(LanguageChoice)
    • SetPDFPassword(string)
    • SetPages(int, int)
    • SetPreferredOCREngine(PreferredOCREngine)
    • SetSearchableImageSetting(SearchableImageSetting)
Back to top Generated by DocFX