DynaPDF Manual - Page 220
Previous Page 219 Index Next Page 221
Function Reference
Page 220 of 839
CloseImage
Syntax:
LBOOL 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: Password encodings, UTF-8 Passwords, Encryption flags
Next topic: ClosePath