PdfLoadOptions Class

Allows to specify additional options when loading Pdf document into a Document object.

ExpandedInheritance Hierarchy

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.11.0

ExpandedSyntax

public class PdfLoadOptions : LoadOptions

The PdfLoadOptions type exposes the following members.

ExpandedConstructors

  NameDescription
Public methodPdfLoadOptions
Initializes a new instance of the PdfLoadOptions class

ExpandedProperties

  NameDescription
Public propertyCode exampleBaseUri
Gets or sets the string that will be used to resolve relative URIs found in the document into absolute URIs when required. Can be null or empty string. Default is null.
(Inherited from LoadOptions.)
Public propertyConvertMetafilesToPng
Gets or sets whether to convert metafile (Wmf or Emf) images to Png image format.
(Inherited from LoadOptions.)
Public propertyCode exampleConvertShapeToOfficeMath
Gets or sets whether to convert shapes with EquationXML to Office Math objects.
(Inherited from LoadOptions.)
Public propertyCode exampleEncoding
Gets or sets the encoding that will be used to load an HTML, TXT, or CHM document if the encoding is not specified inside the document. Can be null. Default is null.
(Inherited from LoadOptions.)
Public propertyCode exampleFontSettings
Allows to specify document font settings.
(Inherited from LoadOptions.)
Public propertyCode exampleLanguagePreferences
Gets language preferences that will be used when document is loading.
(Inherited from LoadOptions.)
Public propertyCode exampleLoadFormat
Specifies the format of the document to be loaded. Default is Auto.
(Inherited from LoadOptions.)
Public propertyCode exampleMswVersion
Allows to specify that the document loading process should match a specific MS Word version. Default value is Word2007
(Inherited from LoadOptions.)
Public propertyPageCount
Gets or sets the number of pages to read. Default is MaxValue which means all pages of the document will be read.
Public propertyPageIndex
Gets or sets the 0-based index of the first page to read. Default is 0.
Public propertyCode examplePassword
Gets or sets the password for opening an encrypted document. Can be null or empty string. Default is null.
(Inherited from LoadOptions.)
Public propertyCode examplePreserveIncludePictureField
Gets or sets whether to preserve the INCLUDEPICTURE field when reading Microsoft Word formats. The default value is false.
(Inherited from LoadOptions.)
Public propertyCode exampleResourceLoadingCallback
Allows to control how external resources (images, style sheets) are loaded when a document is imported from HTML, MHTML.
(Inherited from LoadOptions.)
Public propertySkipPdfImages
Gets or sets the flag indicating whether images must be skipped while loading PDF document. Default is False.
Public propertyCode exampleTempFolder
Allows to use temporary files when reading document. By default this property is null and no temporary files are used.
(Inherited from LoadOptions.)
Public propertyCode exampleUpdateDirtyFields
Specifies whether to update the fields with the dirty attribute.
(Inherited from LoadOptions.)
Public propertyCode exampleWarningCallback
Called during a load operation, when an issue is detected that might result in data or formatting fidelity loss.
(Inherited from LoadOptions.)

ExpandedMethods

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)

ExpandedSee Also