Create |
-
Create( filename, oPrt ) => Declares the name of the output file, if a file with that name already exists on your disk, it will be overwritten by the new one. This method is mandatory.
Filename (character) : is the full file name to be created.
oPrt (object) : is an optional Xbase printer object (XbpPrinter) to be used with the :Print() method, if none is given, then a printer dialog will be presented during the printing of the PDF file.
Example : oPdf:Create( “Sample.PDF” )