Skip to main content

PdfAttachment.FilePath Property

Specifies the path to the file to be attached to the document.

Namespace: DevExpress.XtraPrinting

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

NuGet Package: DevExpress.Printing.Core

Declaration

public string FilePath { get; set; }

Property Value

Type Description
String

A String value, specifying the path to the file to be attached to the document.

Remarks

The PdfAttachment.Data property also allows obtaining the attachment file’s data and has priority over the FilePath property. If both properties are set to non-default values, the FilePath property is ignored.

If the FilePath and PdfAttachment.Data properties are not explicitly specified, the file will not be attached to the document.

See Also