PRIM_PDF - setCreationDate Method
Sets the PDF document's creation date
Member of PRIM_PDF (PRIM_PDF)
| Name | Type | Data Type | Description |
|---|---|---|---|
| Datetime | *Input | DateTime | The creation date |
Sets the PDF document creation date.
Set the creation date
Define_Com Class(#PRIM_PDF) Name(#pdf) Unitm(mm) Pageformat(A4) Pageorientation(Portrait)
Define Field(#CreationDate) Type(*DATETIME)
#pdf.start
#CreationDate := #CreationDate.Now
#pdf.setCreationDate Datetime(#CreationDate)
#pdf.text Text('Hello World!') Left(10) Top(10)
#pdf.save Filename('myReport.pdf')
LANSA Version 15, April 2020