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

DynaPDF Manual - Page 464

Previous Page 463   Index   Next Page 465

Function Reference
Page 464 of 750
Return values:
If the function succeeds the return value is the annotation handle, a value greater or equal zero. If the
function fails the return value is a negative error code.
ImportBookmarks
Syntax:
SI32 pdfImportBookmarks(
const PPDF* IPDF) // Instance pointer
This function imports the outline tree of the currently opened import file (see OpenImportFile() or
OpenImportBuffer()).
Return values:
If the function succeeds the return value is the number of imported bookmarks. If the function fails
the return value is a negative error code.
ImportCatalogObjects
Syntax:
LBOOL pdfImportCatalogObjects(
const PPDF* IPDF) // Instance pointer
The function imports global objects of the currently open import file such as bookmarks, JavaScripts,
embedded files, open actions, invisible page templates, rendering intents, the document info entries,
and certain other global properties such as the page mode or page layout.
These objects are normally imported by ImportPDFFile(). However, in cases where this function
cannot be used, it is possible to import the global objects manually if necessary.
Remarks:
The function considers the current import flags. If certain objects are not imported, check whether
the right import flags are set. See also SetImportFlags().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
ImportDocInfo
Syntax:
LBOOL pdfImportDocInfo(
const PPDF* IPDF) // Instance pointer
The function imports the document info entries from the currently opened import file. Already
existing entries are not overridden.
 

Previous topic: HighlightAnnot

Next topic: ImportPage