TdxPDFFileAttachment.Size Property
Returns the file attachment’s size in bytes.
Declaration
property Size: Integer read;
Property Value
Type | Description |
---|---|
Integer | A file size, in bytes. |
Remarks
The Attachments page on the PDF Viewer control’s Navigation pane shows the Size
property value in the file attachment’s hint:
Note
The Size
property returns 0
if a PDF document stores no size for the file attachment. In this case, the file attachment’s hint includes no size string, and you need to call the Length
function and pass the Data property value as its parameter to identify the attached file’s size.
See Also