Skip to main content
A newer version of this page is available. .

PdfAttachment.Data Property

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

Namespace: DevExpress.XtraPrinting

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

Declaration

public byte[] Data { get; set; }

Property Value

Type Description
Byte[]

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

Remarks

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