Skip to content

PdfDocumentFeatures Class

Definition

Namespace: Xfinium.Pdf

Specifies the available features that are supported for a PdfFixedDocument created from external content, a file or a stream.

C#
public class PdfDocumentFeatures : Object

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.

Constructor

Name Description
PdfDocumentFeatures() Initializes a new PdfDocumentFeatures object.

Properties

Name Description
EnableDocumentFileAttachments Gets or sets a value indicating whether document file attachments are enabled.
EnableDocumentFormFields Gets or sets a value indicating whether document form fields are enabled.
EnableDocumentJavaScriptBlocks Gets or sets a value indicating whether document javascripts are enabled.
EnableDocumentNamedDestinations Gets or sets a value indicating whether document named destinations are enabled.
EnableDocumentOutline Gets or sets a value indicating whether document outline is enabled.
EnablePageAnnotations Gets or sets a value indicating whether page annotations are enabled.
EnablePageGraphics Gets or sets a value indicating whether page graphics is enabled.
EnablePages Gets or sets a value indicating whether pages are enabled.