Class to represent PDF attachment. More...
Public Member Functions | |
Attachment () | |
Default constructor. | |
String^ | GetFileName () |
Get the file name. More... | |
String^ | GetDescription () |
Get the description information. More... | |
int64 | GetSize () |
Get the size. More... | |
DateTime^ | GetCreationDateTime () |
Get the creation date and time. More... | |
DateTime^ | GetModifiedDateTime () |
Get the date and time of last modification. More... | |
IBuffer^ | GetData (Boolean isRawData) |
Get the attachment data. More... | |
void | SetDescription (String^ description) |
Set the description. More... | |
Properties | |
int64 | pointer |
Pointer to a handle of PDF attachment object. This pointer is not useful outside this SDK. The application should not access the pointer to the handle of the PDF attachment object directly. | |
Class to represent PDF attachment.
DateTime ^ Foxit::PDF::Attachment::GetCreationDateTime | ( | ) |
Get the creation date and time.
IBuffer ^ Foxit::PDF::Attachment::GetData | ( | Boolean | isRawData | ) |
Get the attachment data.
[in] | isRawData | A Boolean value that indicates whether to get raw data or decoded data: true means to get raw data, and false means to get decoded data (original data). |
String ^ Foxit::PDF::Attachment::GetDescription | ( | ) |
Get the description information.
Description information is a descriptive text associated with the attachment. It is used for files in the EmbeddedFiles name tree.
String ^ Foxit::PDF::Attachment::GetFileName | ( | ) |
Get the file name.
DateTime ^ Foxit::PDF::Attachment::GetModifiedDateTime | ( | ) |
Get the date and time of last modification.
int64 Foxit::PDF::Attachment::GetSize | ( | ) |
Get the size.
The size of an embedded attachment is in bytes.
void Foxit::PDF::Attachment::SetDescription | ( | String^ | description | ) |
Set the description.
Description information is a descriptive text associated with the attachment. It is used for files in the EmbeddedFiles name tree.
[in] | description | A String object that specifies the new description context. |