OnSetPDFExportOptions - cDRReport¶
Methods - Properties - Events
Obsolete¶
The method is removed per version 26. Setting PDF export options is now done via the properties
Method Type¶
Function (event)
Arguments¶
| Argument | Description |
|---|---|
PDFExportOptions |
Contains the PDF Export Options based on the drPDFExportOptions struct |
Description¶
This event is called from the GenerateReport procedure and function. The PDFExportOptions argument contains the result of the DefaultPDFExportOptions function call. One or more members of the struct can be changed, and the function should return a variable of the drPDFExportOptions struct.
DataFlex Framework usage¶
- Web
- Windows
- FlexTron
Sample¶
Object oMyReport is a cDRReport
Function OnSetPDFExportOptions drPDFExportOptions PDFExportOptions Returns drPDFExportOptions
Move C_DRHigh to PDFExportOptions.iImageQuality
Function_Return PDFExportOptions
End_Function
End_Object
The code above changes the image quality member of the PDF export options struct.