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

DynaPDF Manual - Page 422

Previous Page 421   Index   Next Page 423

Function Reference
Page 422 of 750
const PPDF* IPDF) // Instance pointer
The function returns the opacity value used to draw the visible appearance of an annotation
(requires Acrobat 5 or higher). A value of 1 determines that the annotation is completely opaque. If
the value is zero, newly created annotations will be invisible. The opacity flag is not supported by all
annotation types.
At time of publication the opacity property is used for annotations only. Later versions of DynaPDF
use this property may be for other PDF objects too.
GetOrientation
Syntax:
SI32 pdfGetOrientation(
const PPDF* IPDF) // Instance pointer
The function returns the orientation of the current open page if an open page was detected or the
default orientation for newly created pages if no open page was detected.
The orientation is measured in degrees; it is also always a multiple of 90 or 0.
Default value = 0 (Portrait)
GetOutputIntent
Syntax:
LBOOL pdfGetOutputIntent(
const PPDF* IPDF,
// Instance pointer
UI32 Index,
// Array index
struct TPDFOutputIntent* Intent) // See below
struct TPDFOutputIntent
{
UI32 StructSize;
// Must be set to sizeof(TPDFOutputIntent)
BYTE* Buffer;
// ICC profile buffer (optional)
UI32 BufSize;
// Buffer size in bytes
char* InfoA;
// Info string or name of the ICC profile
UI16* InfoW;
// Info string or name of the ICC profile
UI32 NumComponents;
// Number of components
char* OutputConditionA;
// Describtion of the output device
UI16* OutputConditionW;
// Describtion of the output device
char* OutputConditionIDA; // Describtion of the output device
UI16* OutputConditionIDW; // Describtion of the output device
char* RegistryNameA;
// The registry in which OutputConditionID is
UI16* RegistryNameW;
// defined.
char* SubType;
// GTS_PDFX, GTS_PDFA1, or ISO_PDFE1
};
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.
 

Previous topic: GetOpacity

Next topic: GetPageAnnot (obsolete)