Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 190

Previous Page 189   Index   Next Page 191

Function Reference
Page 190 of 750
The second combo box at "Changes Allowed" sets the following flags:
rsModify + rsAddObj + rsFillInFormFields + rsAssemble
Inserting, deleting, and…: rsModify + rsAddObj + rsFillInFormFields
Filling in form field…:
rsModify + rsAddObj
Commenting, filling in…: rsModify
Any except extracting…: No additional flags!
The check box "Enable copying of text, images, and other…" sets the flag rsCopyObj, if unchecked!
The check box "Enable text access for screen readers…" sets the flag rsExtractObj, if unchecked!
The key lengths klAES128 and klAES256 support also the flag rsEmbFiles only. If this flag is set all
other flags are ignored becaus the PDF file is left unencrypted in this case (with exception of
embedded files).
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.
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.
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.

Previous topic: Encryption flags

Next topic: ClosePath