Xojo Conferences
MBSOct2019CologneDE

DynaPDF Manual - Page 194

Previous Page 193   Index   Next Page 195

Function Reference
Page 194 of 766
Due to a bug in Acrobat 6 the permission rsPrintHighRes is not displayed in the security settings but
it is still applied.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
CloseImage
Syntax:
pdfCloseImage(
const PPDF* IPDF) // Instance pointer
The function closes the current open image file and frees the internal used resources if the image was
not created in memory. The buffer of a memory based image file can be returned by
GetImageBuffer() after this function was called. Note that GetImageBuffer() does not free the internal
used resources because it returns a pointer to the original buffer. After the buffer was processed by
your application call FreeImageBuffer() to free the used resources. See also CreateImage(),
GetImageBuffer(), FreeImageBuffer().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
CloseImportFile
Syntax:
LBOOL pdfCloseImportFile(
const PPDF* IPDF) // Instance pointer
This function closes an open import file that was be opened by OpenImportFile() or
OpenImportBuffer(). If no import file was opened before the functions returns without an error.
This function cannot fail; the return value is always 1.
CloseImportFileEx
Syntax:
LBOOL pdfCloseImportFileEx(
const PPDF* IPDF, // Instance pointer
UI32 Handle)
// File handle
The function closes a specific import file and deletes the corresponding parser instance. The
parameter Handle must be a valid file handle that was returned by OpenImportFile() or
OpenImportBuffer(). See OpenImportFile() for further information.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: Encryption flags

Next topic: ClosePath