PRIM_PDF - setCreationDate Method
Sets the PDF document's creation date
Member of PRIM_PDF (PRIM_PDF)

Parameters

Name

Type

Data Type

Description

Datetime

*Input

DateTime

The creation date

Details


Sets the PDF document creation date.

Example


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')

See also

All Component Classes
Technical Reference