Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Creates a new XFF/XML/PDF file.

...

Code Block
Object.CreateDocument([tcFileName]tcFileName [, liCodePage)

PDFL.CreateDocument(tcFileName [, tlAdd [, tcOwner [, tcUser]]])

...

tcFileName
  The file name if the document to be created. If this parameter is empty, the XFF file is created in memory.

liCodePage
 Document code page.

tlAdd
    If .T. and file exist then output will be add to existing file.

tcOwner
   Owner password. If the owner password is empty, a random string will be generated as the password. The owner can do anything with the document.

tcUser
   The user password can be empty..

Return value

XFF/XML:

.T. … the file was successfully created
.F. … file couldn’t have been created

...