Export.PDF.NativePDF.Subject
property (DataWindow object)
Description
Setting that enables you to specify the subject for the PDF file
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.Subject |
Describe argument:
|
1 |
"DataWindow.Export.PDF.NativePDF.Subject { = 'value' }" |
|
Parameter |
Description |
|---|---|
|
value |
A string specifying the subject for the PDF |
Usage
In the painter
Input the subject in the Data Export tab in the Properties view
for the DataWindow object.
Examples
This example specifies the subject for the PDF file, and saves the
data to a file called custom.pdf:
|
1 2 3 4 5 6 |
int li_ret dw1.Object.DataWindow.Export.PDF.Method = NativePDF! dw1.Object.DataWindow.Export.PDF.NativePDF.author = "Kate M." dw1.Object.DataWindow.Export.PDF.NativePDF.subject = "Sales Data Report" dw1.Object.DataWindow.Export.PDF.NativePDF.keywords = "Product A" li_ret = dw1.SaveAs("custom.pdf", PDF!, true) |
This example uses Modify to specify the subject for the PDF
file:
|
1 |
dw1.Modify("DataWindow.Export.PDF.NativePDF.Subject = 'Sales Data Report'") |
See also
Export.PDF.NativePDF.CustomOrientation
Export.PDF.NativePDF.CustomSize
Export.PDF.NativePDF.ImageFormat
Export.PDF.NativePDF.MasterPassword
Export.PDF.NativePDF.PDFStandard
Export.PDF.NativePDF.Restrictions
Export.PDF.NativePDF.UserPassword