PDFDocumentFeatures¶
Namespace: O2S.Components.PDF4NET
Specifies the available features that are supported for a PDFFixedDocument created from external content, a file or a stream.
Inheritance Object → PDFDocumentFeatures
Remarks
When a feature is disabled its content is not loaded from disk and it cannot be modified in the PDFFixedDocument object. For example if page graphics is disabled, the page content is not loaded from the file and new graphic content cannot be added to the pages loaded from the file.
Constructors¶
PDFDocumentFeatures()¶
Initializes a new PDFDocumentFeatures object.
Properties¶
EnableDocumentFileAttachments¶
Gets or sets a value indicating whether document file attachments are enabled.
Property Value
Boolean
If true, the document file attachments are enabled.
Remarks
If document file attachments are not enabled, then the PDFFixedDocument.FileAttachments property will be null and new attachments cannot be created.
EnableDocumentFormFields¶
Gets or sets a value indicating whether document form fields are enabled.
Property Value
Boolean
If true, the document form fields are enabled.
Remarks
If document form fields are not enabled, then the PDFFixedDocument.Form and PDFPage.Fields properties will be null and new form fields cannot be created.
EnableDocumentJavaScriptBlocks¶
Gets or sets a value indicating whether document javascripts are enabled.
Property Value
Boolean
If true, the document javascripts are enabled.
Remarks
If document javascripts are not enabled, then the PDFFixedDocument.JavaScriptBlocks property will be null and new javascript blocks cannot be created.
EnableDocumentNamedDestinations¶
Gets or sets a value indicating whether document named destinations are enabled.
Property Value
Boolean
If true, the named destinations are enabled.
Remarks
If named destinations are not enabled, then the PDFFixedDocument.NamedDestinations property will be null and new named destinations cannot be created.
EnableDocumentOutline¶
Gets or sets a value indicating whether document outline is enabled.
Property Value
Boolean
If true, the document outline is enabled.
Remarks
If document outline is not enabled, then the PDFFixedDocument.Outline property will be null and new outline items cannot be created.
EnablePageAnnotations¶
Gets or sets a value indicating whether page annotations are enabled.
Property Value
Boolean
If true, the page annotations are enabled.
Remarks
If page annotations are not enabled, then the PDFPage.Annotations property will be null for pages loaded from the PDF file.
EnablePageGraphics¶
Gets or sets a value indicating whether page graphics is enabled.
Property Value
Boolean
If true, the page graphics are enabled.
Remarks
If page graphics is not enabled, then the PDFPage.Canvas property will be null for pages loaded from the PDF file.
EnablePages¶
Gets or sets a value indicating whether pages are enabled.
Property Value
Boolean
If true, the page are enabled.
Remarks
If pages are not enabled, then the PDFFixedDocument.Pages property will be null and new pages cannot be added.