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

DynaPDF Manual - Page 455

Previous Page 454   Index   Next Page 456

Function Reference
Page 455 of 750
// -1 or next action handle to be executed if any.
TActionType NextActionType; // Only set if NextAction is >= 0.
The function retrieves the properties of a URI action. The member StructSize must be set to
sizeof(TPDFURIAction) before the function can be called.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
LBOOL pdfGetUseExactPwd(
const PPDF* IPDF) // Instance pointer
If the property UseExactPwd is false, an encrypted PDF file can always be decrypted, if either the
open or owner password in the file is an empty string. If true, the open or owner password must be
known to open the PDF file (see also SetUseExactPwd()).
Default value = 1 (true)
If your application should allow the modification of encrypted PDF files, you may check the access
permissions to grant user rights, if the file was opened with the open password instead of the owner
password (see also GetUserRights()).
Due to the license agreement of Adobe, all manufacturers of applications which make the treatment
of encrypted PDF files possible, must respect the access permissions of a PDF file, if the file was
opened with the open password.
Only if the file was opened with the owner password, all rights should be granted. See PDF Reference
1.5 for further information.
The property UseExactPwd should be true, if the application is a commercial software product.
LBOOL pdfGetUseGlobalImpFiles(
const PPDF* IPDF) // Instance pointer
The property specifies whether import files should be loaded permanent into memory, e.g. to enable
splitting of large PDF files. An open import file will not be closed when CloseFile() or FreePDF() is
called when the property is true. See also SetUseGlobalImpFiles().
Default value = 0 (false)

Previous topic: GetURIAction

Next topic: GetUserUnit

Web links on this page: