DynaPDF Manual - Page 471

Previous Page 470   Index   Next Page 472

Function Reference
Page 471 of 839
The function returns an output intent as well as the properties of it. An output intent is an ICC
profile that describes the characteristics of the output device. The profile is mostly embedded but
certain standards like PDF/X 4p, for example, allow also the usage of non-embedded profiles.
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: GetOpacity, GetOrientation, GetOutputIntent

Next topic: GetPageAnnotEx, GetPageAnnotCount, GetPageBBox (Rendering Engine)