Xojo Conferences
XDCMay2019MiamiUSA
MBSOct2019CologneDE

DynaPDF Manual - Page 433

Previous Page 432   Index   Next Page 434

Function Reference
Page 433 of 766
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