DynaPDF Manual - Page 445

Previous Page 444   Index   Next Page 446

Function Reference
Page 445 of 787
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.
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

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

Next topic: GetPageFieldCount, GetPageFieldEx

Start Chat