PdfGeneratedDocument Properties |
The PdfGeneratedDocument type exposes the following members.
Name | Description | |
---|---|---|
AdditionalActions |
Gets the list of additional actions that may be performed by a document.
| |
AdjustPdfVersionAsNeeded |
Gets or sets a value indicating whether to adjust PDF version as needed. If the document is saved using features
that surpass the version of the PDF spec to adhere to specified in PdfVersion, this will automatically
adjust the version to match.
| |
AllowSavingOfPreviouslySignedDocuments |
Gets or sets a value indicating whether to allow previously signed documents to be saved. Default value is false.
If set to false, if DocumentWasSigned is true, calling Save will throw a PdfException.
If set to true and DocumentWasSigned is true, calling Save will not throw an exception,
but will create an invalid PDF which may still render correctly.
| |
AutomaticValidateAndRepairBeforeSave |
Gets or sets a value indicating whether the document should attempt to automatically repair issues that
may generate incorrect PDF.
| |
BookmarkTree |
Gets or sets the bookmark tree.
| |
DisplayMode |
Gets or sets the display mode that will be used for this document.
| |
DocumentCertification |
Gets or sets the information used to certify the document.
| |
DocumentWasSigned |
Gets a value indicating whether the document contained a digital signature when opened.
| |
EmbedGeneratedContent |
Gets or sets a value indicating whether to embed Generated content allowing a PdfGeneratedDocument to be
reconstructed from a PDF.
| |
EncryptMetadata |
Gets or sets a value indicating whether to encrypt metadata.
| |
Form |
Gets or sets the form object for the document. By default, this is null.
| |
GlobalJavaScriptActions |
Gets the global java script actions that will be executed when the PDF document is opened. This is
initialized to an empty collection.
| |
Metadata |
Gets the document's metadata.
| |
OwnerPassword | Obsolete.
Gets or sets the owner password.
| |
Pages |
Gets the pages of the document.
| |
PdfVersion |
Gets or sets the desired PDF version for the output document. Currently, this will accept 2.0 value and values
from 1.0 to 1.7 in increments of 0.1. Other values will be rejected. Defaults to 1.4.
| |
Permissions |
Gets or sets the permissions.
| |
RepairOptions |
Gets the repair options that will be used for the document.
| |
Resources |
Gets or sets the global resources.
| |
SelfPrinting |
Gets or sets a value indicating whether will self print upon opening.
| |
UserPassword | Obsolete.
Gets or sets the user password.
| |
ValidationChooser |
Gets or sets the validation chooser. This is a delegate that is used if AutomaticValidateAndRepairBeforeSave is true to choose to repair detected problems or not.
The delegate will be called for each problem in turn. If the delegate returns true, the problem will be repaired.
Remarks
If ValidationChooser is set to null, only problems of Serious or less will be repaired.
If there are any remaining problems, this will cause a PdfException to be thrown containing all the problems detected.
Examples doc.ValidationChooser = PdfGeneratedDocument.MakeValidationSeverityChooser(Severity.Minor); | |
ViewerPreferences |
Gets or sets the viewer preferences for this PDF document. PdfViewerPreferences control coarse levels
of document and page level user interaction such as the reading order of the document and print
characteristics.
|