|Mac & Win
Whether we have a working document.
|The PDF reference returned from DynaPDF.New.
Returns 1, 0 or error.
DescriptionWhether we have a working document.
If an error occurred it is not always clear whether the PDF file was already deleted or if it is still in memory. Therefore, this function can be used to determine whether a PDF file is still in memory.
If an open PDF file is in memory the return value is 1. If no open PDF file is in memory the return value is 0.
See also HaveOpenDocument function in DynaPDF manual.
Save PDF only if we have a document and there was no error:
This function checks for a license.
Created 12nd February 2017, last changed 3th January 2021