Data Property (PDFFileAttachment)
Gets or sets the data stored in the file attachment.
Syntax
'Declaration Public Property Data As Byte()
'Usage Dim instance As PDFFileAttachment Dim value() As Byte instance.Data = value value = instance.Data
public byte[] Data {get; set;}
Property Value
The content of the file attachment.Remarks
If this property returns 0, this means that the file attachment has not been loaded and you need to call the Load method first.
Requirements
Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025
See Also