PDFAttachment Type
The attachment of PDF file.
Remarks
The attachment of PDF file.
Fields
ContentType String? |
The Content-Type of the attachment. File extensions are mapped to the following Content-Type:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Data String |
This field contains the attachment data. When calling Save the data to use for the attachment will be obtained using the following search order. When a valid source of data is found the search stops.
After calling Load but before calling ParseAttachment the component will use the following search order to determine where the attachment data will be written. When a valid destination for the attachment data is found the search stops. When ParseAttachment is called the data will be written to the selected destination.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DataB ByteArray? |
This field contains the attachment data. When calling Save the data to use for the attachment will be obtained using the following search order. When a valid source of data is found the search stops.
After calling Load but before calling ParseAttachment the component will use the following search order to determine where the attachment data will be written. When a valid destination for the attachment data is found the search stops. When ParseAttachment is called the data will be written to the selected destination.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description String? |
The description of the attachment. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Filename String? |
This field optionally specifies the filename to use for input and output of the attachment data. When calling Save the data to use for the attachment will be obtained using the following search order. When a valid source of data is found the search stops.
After calling Load but before calling ParseAttachment the component will use the following search order to determine where the attachment data will be written. When a valid destination for the attachment data is found the search stops. When ParseAttachment is called the data will be written to the selected destination.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
InputStream InputStream? |
This field optionally specifies the input stream to use for the attachment when Save is called. When calling Save the data to use for the attachment will be obtained using the following search order. When a valid source of data is found the search stops.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Name String? |
The name of the attachment. The default value is "" (empty string). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
OutputStream OutputStream? |
This field optionally specifies the output stream to use when ParseAttachment is called. After calling Load but before calling ParseAttachment the component will use the following search order to determine where the attachment data will be written. When a valid destination for the attachment data is found the search stops. When ParseAttachment is called the data will be written to the selected destination.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Relationship String? |
The relationship of attachment. e.g. Alternative, Source. Note: this field is used for ZUGFeRD XML invoices. |
Constructors
public constructor()
public constructor(filename: String?)
public constructor(name: String?, data: ByteArray?, contentType: String?)
public constructor(name: String?, filename: String?, contentType: String?)