Skip to content

PdfDocumentFeatures.EnableDocumentFileAttachments Property

Gets or sets a value indicating whether document file attachments are enabled.

C#
public bool EnableDocumentFileAttachments { get; set; }

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.