DynaPDF Manual - Page 473

Previous Page 472   Index   Next Page 474

Function Reference
Page 473 of 839
Note that all bounding boxes with exception of the media box are optional and maybe not available.
When the bounding box is not available the function initializes the parameter BBox with zero and
returns false.
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
 

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

Next topic: GetPageFieldCount, GetPageFieldEx