PdfAttachment.Data Property

Specifies the document's attachment file as a byte array.

Namespace: DevExpress.XtraPrinting

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


public byte[] Data { get; set; }
Public Property Data As Byte()

Property Value

Type Description

A Byte array that contains the document's attachment file.


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

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

See Also