PRIM_PDF - setDocumentProperties Method
Sets properties of the PDF document
Member of PRIM_PDF (PRIM_PDF)
Parameters
Name | Type | Data Type | Description |
|---|---|---|---|
Title | *Input (Optional) | Unicode String | Document title |
Author | *Input (Optional) | Unicode String | Document author |
Creator | *Input (Optional) | Unicode String | Document creator |
Keywords | *Input (Optional) | Unicode String | Keywords to associate with the document |
Details
Sets PDF document properties.
Example
Set PDF document properties
Define_Com Class(#PRIM_PDF) Name(#pdf) Unitm(mm) Pageformat(A4) Pageorientation(Portrait)
#pdf.start
#pdf.setDocumentProperties Title('My PDF report') Author('John Smith') Creator('My Company, Inc') Keywords('Weekly report')
#pdf.text Text('Hello World!') Left(10) Top(10)
#pdf.save Filename('myReport.pdf')