Skip to main content

PdfAttachment.FileName Property

Specifies the name of the attachment file.

Namespace: DevExpress.XtraPrinting

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


public string FileName { get; set; }

Property Value

Type Description

A String value that specifies the name of the attachment file.


If the FileName property was not previously explicitly specified, the attachment file name is obtained from a file specified by the value of the PdfAttachment.FilePath property.

If the PdfAttachment.FilePath property is not set, the file will not be attached to the document.

See Also