Skip to main content

PdfAttachment Class

Represents a file attached to a PDF document.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v22.1.Core.dll


public class PdfAttachment


The attachment file content can be specified by the PdfAttachment.Data or PdfAttachment.FilePath property. The PdfAttachment.Data property has priority over the PdfAttachment.FilePath property. If both properties are set to non-default values, the PdfAttachment.FilePath property is ignored.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PdfAttachment class.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.


See Also