Xojo Conferences

DynaPDF Manual - Page 436

Previous Page 435   Index   Next Page 437

Function Reference
Page 436 of 770
The functions of the rendering engine should be fast as possible and use less error checking than
normal DynaPDF functions. For example, the function does not check whether valid pointers or
NULL were passed to the function.
Return values:
When the bounding box is available the return value is 1. When the bounding box is not available the
functions 0.
SI32 pdfGetPageCoords(
const PPDF* IPDF) // Instance pointer
typedef enum
pcBottomUp = 0,
= 1
The native coordinate system of the Portable Document Format is bottom-up. However, DynaPDF
supports also top-down coordinates to make the usage of the library easier. See also
Default value = pcBottomUp
SI32 pdfGetPageCount(
const PPDF* IPDF) // Instance pointer
The function returns the number of pages of the current PDF file if any.
GetPageField (obsolete)
SI32 pdfGetPageField(
const PPDF* IPDF,
// Instance pointer
UI32 Index,
// Field index
struct TPDFField* Field) // Structure to be filled
The function returns the most important properties of a field. This function is marked as obsolete,
please use GetPageFieldEx() instead. The parameter Index must be a valid index to the page's field
array. To enumerate the fields of a page execute the function in a loop from 0 to GetPageFieldCount()
- 1.
See also GetField().

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

Next topic: GetPageFieldCount, GetPageFieldEx