psPDFOwnerPassword - cDRReport¶
Methods - Properties - Events
Type¶
Default¶
Nothing
Arguments¶
None
Description¶
Password for altering the PDF.
Can be retrieved or set after the OCX is initialized.
Related topics¶
- psPDFAllPages
- pePDFFacturXProfile
- pePDFFacturXRelationship
- pePDFImageQuality
- pePDFPageMode
- pePDFType
- piPDFPage
- psPDFXMLFileName
- psPDFUserPassword
DataFlex Framework Usage¶
- Web
- Windows
- FlexTron
Sample¶
Object oReport is a cDRReport
Set psReportName to 'MyReport.dr'
End_Object
Object oExportToPDFReportButton is a Button
Set Label to 'Export Report to PDF'
Procedure OnClick
String sReportId
Get OpenReport of oReport to sReportId
If (sReportId <> '') Begin
Set psPDFOwnerPassword of oReport to 'DataFlex Reports is Great'
Send ExportReport of oReport C_drPDF 'c:\tmp\MyReport.pdf'
End
End_Procedure
End_Object