TdxPDFFileAttachment Class
Contains information on a single file attachment and its content.
Declaration
TdxPDFFileAttachment = class(
TObject
)
Remarks
This class implements a container that stores a file attached to a PDF document and concomitant information. The TdxPDFFileAttachment class has members that allow you to do the following:
Specify the file attachment’s content as an array of bytes (Data).
Replace the file attachment’s content from a file or stream (LoadFromFile and LoadFromStream.
Identify the attached file’s size in bytes (Size).
Specify the file attachment’s name and meaningful description (FileName and Description).
Save the file attachment’s content to a file or stream (SaveToFile and SaveToStream).
Specify the file attachment’s creation and last modification timestamps (CreationDate and ModificationDate).
The Items property of the TdxPDFFileAttachmentList class references a TdxPDFFileAttachment object.