PDF export options¶
The name of this structure is drPDFExportOptions. It is used by the DefaultPDFExportOptions and pPDFExportOptions.
Obsolete¶
The struct is obsolete per version 26 as setting PDF export options is now preferabily done via properties and no longer passing a pointer to the struct. Use of the struct as storage is permitted but setting a single export option should be done with the setter.
Struct layout¶
| Member | Type | Description | Default Value |
|---|---|---|---|
iPageMode |
Integer | One of PDF Page Mode constants | C_drNormal |
iPDFType |
Integer | One of PDF Type constants | C_drPDFNormal |
sOwnerPassword |
String | Password for altering the PDF | '' |
sUserPassword |
String | Password for opening the PDF | '' |
iImageQuality |
Integer | One of PDF Image Quality constants | C_drLow |
bAllPages |
Boolean | Export all pages or single page | True |
iPage |
Integer | Page number of single page to export | 1 |
sFileName |
String | XML file name with ZUGFeRD 2 data. Filename must be zugferd-invoice.xml (case sensitive filename) | "" |
eFacturXProfile |
C_drPDFFacturX_Profiles | Defines how much detail is included in the invoice's embedded data. | C_drPDFFacturX_Extended |
eFacturXRelationship |
C_drPDFFacturX_Relationships | Defines how the embedded XML invoice data is linked to the PDF document inside the file. | C_drPDFFacturX_Rel_Alternative |
Notes¶
- Defined in
cDRAPI.pkg - The password values can only be used when
iPageModeequalsC_drNormal. If set with one of the other page modes, the password values are ignored. - For version 26 two new struct members and matching properties were added.
Change of default settings¶
With the introduction of getters for export options the defaults for export setting is now the same between Studio and integration.