Export.PDF.NativePDF.PDFStandard
property (DataWindow object)
Description
Setting that enables you to select a PDF conformance level when
you use the PDFlib method to save data from a DataWindow object to a PDF
file.
Applies to
DataWindow objects
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.DataWindow.Export.PDF.NativePDF.PDFStandard |
Describe argument:
|
1 |
"DataWindow.Export.PDF.NativePDF.PDFStandard { = 'value' }" |
|
Parameter |
Description |
|---|---|
|
value |
(exp) An integer indicating the level of PDF Values are:
|
Usage
In the painter
Select a value from the PDF Conformance list in the Data Export
tab in the Properties view for the DataWindow object.
Examples
This example exports PDF using PDF/A-1a standard, and saves the
data to a file called custom.pdf:
|
1 2 3 4 |
int li_ret dw_1.Object.DataWindow.Export.PDF.Method = NativePDF! dw_1.Object.DataWindow.Export.PDF.NativePDF.PDFStandard = '1' //PDF/A-1a li_ret = dw_1.SaveAs("c:custom.pdf",PDF!, true) |
This example uses Modify to set the PDF print properties:
|
1 2 |
dw1.Modify("DataWindow.Export.PDF.Method = NativePDF!") dw1.Modify("DataWindow.Export.PDF.NativePDF.PDFStandard = '1'") |
See also
Export.PDF.NativePDF.CustomSize
Export.PDF.NativePDF.CustomOrientation
Export.PDF.NativePDF.ImageFormat