Skip to main content

PdfExportOptions.Attachments Property

Provides access to the attachment files list of the document.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v21.2.Core.dll

Declaration

[Browsable(false)]
public ICollection<PdfAttachment> Attachments { get; }

Property Value

Type Description
ICollection<PdfAttachment>

A ICollection<PdfAttachment> collection of files to be attached to the document.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Attachments
Cross-Platform Class Library ExportOptions
.Pdf.Attachments
WinForms Controls DiagramOptionsExport
.PdfExportOptions.Attachments
WPF Controls DiagramControl
.PdfExportOptions.Attachments
DiagramDesignerControl
.PdfExportOptions.Attachments
ExportOptionsContainer
.Pdf.Attachments

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

Note

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