Pdf |
The PdfLoadOptions type exposes the following members.
Name | Description | |
---|---|---|
PdfLoadOptions | Initializes a new instance of the PdfLoadOptions class. |
Name | Description | |
---|---|---|
AuthorizationOnDocumentOpen | Gets or sets a value indicating whether authorization should be handled right away when PDF document is opened or when the first string or stream is read. Default value: . | |
Default | Gets the default options used for loading any PdfDocument from a PDF file. | |
Password | Gets or sets the password used to load a PDF document from a password-encrypted PDF file. If PDF file is not encrypted, then this property is ignored. If PDF file is encrypted and Password is invalid, then InvalidPdfPasswordException is thrown when loading a PDF document. | |
ReadOnly | Gets or sets a value indicating whether to load a PdfDocument from a read-only PDF file so that changes made to the PdfDocument cannot be saved back to the same PDF file. Default value: . | |
RebuildXrefIfCorrupted | Gets or sets a value indicating whether the Xref table should be rebuilt if it is corrupted or missing. Default value: . |
Name | Description | |
---|---|---|
LoadingEncrypted | Occurs when a PDF document is being loaded from an encrypted PDF file. This even must be handled in cases when some kind of authorization (for example, password) is required in order to decrypt the PDF file. |