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

DynaPDF Manual - Page 425

Previous Page 424   Index   Next Page 426

Function Reference
Page 425 of 750
Remarks:
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.
GetPageCoords
Syntax:
SI32 pdfGetPageCoords(
const PPDF* IPDF) // Instance pointer
typedef enum
{
pcBottomUp = 0,
pcTopDown
= 1
}TPageCoord;
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
SetPageCoords().
Default value = pcBottomUp
GetPageCount
Syntax:
SI32 pdfGetPageCount(
const PPDF* IPDF) // Instance pointer
The function returns the number of pages of the current PDF file if any.
GetPageField (obsolete)
Syntax:
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: GetPageBBox (Rendering Engine)

Next topic: GetPageFieldEx