SignDoc SDK (.NET without exceptions)
5.0.0
|
Output of SignDocDocument.getAttachment(). More...
Public Member Functions | |
~SignDocAttachment () | |
Destructor. More... | |
!SignDocAttachment () | |
Finalizer. More... | |
SignDocAttachment (SignDocAttachment aSource) | |
Copy constructor. More... | |
string | getName () |
Get the name of the attachment. More... | |
string | getFileName () |
Get the file name of the attachment. More... | |
string | getDescription () |
Get the description of the attachment. More... | |
int | getSize () |
Get the size (in octets) of the attachment. More... | |
int | getCompressedSize () |
Get the compressed size (in octets) of the attachment. More... | |
string | getType () |
Get the MIME type of the attachment. More... | |
string | getCreationTime () |
Get the creation time and date of the attachment. More... | |
string | getModificationTime () |
Get the time and date of the last modification of the attachment. More... | |
Output of SignDocDocument.getAttachment().
~SignDocAttachment | ( | ) |
Destructor.
!SignDocAttachment | ( | ) |
Finalizer.
SignDocAttachment | ( | SignDocAttachment | aSource | ) |
Copy constructor.
[in] | aSource | The object to be copied. |
int getCompressedSize | ( | ) |
Get the compressed size (in octets) of the attachment.
string getCreationTime | ( | ) |
Get the creation time and date of the attachment.
The returned string will be empty if the creation time and date are missing.
ISO 8601 format is used: yyyy-mm-ddThh:mm:ss, optionally followed by a timezone: Z, +hh:mm, or -hh:mm.
The PDF reference is ambiguous; apparently, the creation time is supposed to be the time and date at which the attachment was the PDF document. Changing the description does not update the modification date/time.
string getDescription | ( | ) |
Get the description of the attachment.
The returned string will be empty if the description is missing.
string getFileName | ( | ) |
Get the file name of the attachment.
string getModificationTime | ( | ) |
Get the time and date of the last modification of the attachment.
Setting the time and date of the last modification of the attachment is optional. The returned string will be empty if the modification time and date are missing.
ISO 8601 format is used: yyyy-mm-ddThh:mm:ss, optionally followed by a timezone: Z, +hh:mm, or -hh:mm.
The PDF reference is ambiguous; apparently, the modification time is supposed to be the time and date of the last modification of the file at the time it was attached. Changing the description does not update the modification date/time.
string getName | ( | ) |
Get the name of the attachment.
int getSize | ( | ) |
Get the size (in octets) of the attachment.
The return value is -1 if the size of the attachment is not readily available.
string getType | ( | ) |
Get the MIME type of the attachment.
The return string will be empty if the MIME type is missing.