Skip to main content

PdfDocument.FileAttachments Property

Gets the file attachments from a document.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v26.1.Core.dll

NuGet Package: DevExpress.Pdf.Core

Declaration

public IEnumerable<PdfFileAttachment> FileAttachments { get; }

Property Value

Type Description
IEnumerable<PdfFileAttachment>

An object implementing the IEnumerable interface that is the collection of PdfFileAttachment objects.

Remarks

Obtain the FileAttachments collection before closing a document. The PdfFileAttachment.Data property reads data from an original document stream. If the stream is closed, the issue occurs.

See Also