Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

Creates a new XFF/XML/PDF file.


Object.CreateDocument([tcFileName])

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

Parameters

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

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

PDFL:

0 … the file was successfully created
-1 … file couldn’t have been created

Remarks

Applies To: XFRX#DRAW, XFRX#XMLPDFL#INIT

XFF/XML: An existing file is overwritten.

  • No labels