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

DynaPDF Manual - Page 423

Previous Page 422   Index   Next Page 424

Function Reference
Page 423 of 750
All strings in the structure TPDFOutputIntent can be defined as Unicode or Ansi string (Windows
code page 1252) but only one format is present at time.
The parameter Index is the array index of the output intent. To determine the number of available
intents call GetOutputIntentCount().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
GetOutputIntentCount
Syntax:
SI32 pdfGetOutputIntentCount(
const PPDF* IPDF) // Instance pointer
The function returns the number of available output intents. This function cannot fail.
GetPageAnnot (obsolete)
Syntax:
LBOOL pdfGetPageAnnot(
const PPDF* IPDF, // Instance pointer
UI32 Index,
// Array index in the page
struct TPDFAnnotation ADDR Annot) // Structure to be filled
The function retrieves the most important properties of an annotation like GetAnnot(). This function
is marked as obsolete and should no longer be used. If possible use GetPageAnnotEx() instead. The
parameter Index must be the array index of the page in which the annotation is used. To enumerate
the annotations of a page execute the function in a loop from 0 to GetPageAnnotCount() - 1.
Return Values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: GetOutputIntent

Next topic: GetPageBBox (Rendering Engine)