PDFCreateDocument

Use this function to create a ne PDF document.

It is recommended to lock the user interface during PDF creation.

PDFCreateDocument();

Example:
PAGE('LOCKPAGE');
PDFCreateDocument();