PdfLoadOptions Class
Represents a class that stores loading options for Portable Document Format (PDF).
public sealed class PdfLoadOptions : LoadOptions
Public NotInheritable Class PdfLoadOptions
Inherits LoadOptions
- Inheritance:
- System.ObjectPdfLoadOptions
Remarks
For more information about PDF reading, see support level for reading PDF format.
Constructors
PdfLoadOptions()
Initializes a new instance of the PdfLoadOptions class.
Properties
LoadType
Gets or sets the strategy that should be used when loading this document.
By default, the loading type is Logical
Property Value
The strategy that should be used when loading this document.
Password
Gets or sets the password to open protected / encrypted PDF document.
Property Value
- System.String
The password to open protected / encrypted PDF document.
Remarks
Opening an encrypted PDF document with not specified or invalid password raises System.InvalidOperationException.
If PDF document is not encrypted, then value of this property is simply ignored.
For an example of reading and/or writing encrypted PDF file, see PDF encryption example.
Inherited Properties
DocDefault | Gets the default loading options for Microsoft Word 97-2003 (DOC) format. (Inherited from LoadOptions) |
DocxDefault | Gets the default loading options for Microsoft Word (DOCX) format. (Inherited from LoadOptions) |
HtmlDefault | Gets the default loading options for HyperText Markup Language (HTML) format. (Inherited from LoadOptions) |
OdtDefault | Gets the default loading options for Open Document (ODT) format. (Inherited from LoadOptions) |
PdfDefault | Gets the default loading options for Portable Document Format (PDF). (Inherited from LoadOptions) |
PreserveUnsupportedFeatures | Gets or sets a value indicating whether to preserve file format features that are not directly supported through GemBox.Document object model. (Inherited from LoadOptions) |
RtfDefault | Gets the default loading options for Rich Text (RTF) format. (Inherited from LoadOptions) |
TxtDefault | Gets the default loading options for Plain Text (TXT) format. (Inherited from LoadOptions) |
XmlDefault | Gets the default loading options for XML file format. (Inherited from LoadOptions) |