DynaPDF Manual - Page 477

Previous Page 476   Index   Next Page 478

Function Reference
Page 477 of 839
GetPageLabelCount
Syntax:
SI32 pdfGetPageLabelCount(
const PPDF* IPDF) // Instance pointer
The function returns the number of page labels defined in the document.
GetPageLayout
Syntax:
SI32 pdfGetPageLayout(
const PPDF* IPDF) // Instance pointer
typedef enum
{
plSinglePage
= 0, // Show one page at time
plOneColumn
= 1, // Show the pages continuous
plTwoColumnLeft
= 2, // Two columns, start with left column
plTwoColumnRight = 3
// Two columns, start with right column
}TPageLayout;
The function returns the page layout that is used when opening the document with Adobe's
Acrobat.
Default value = plOneColumn
GetPageMode
Syntax:
SI32 pdfGetPageMode(
const PPDF* IPDF) // Instance pointer
typedef enum
{
pmUseNone
= 0, // No page mode is applied
pmUseOutlines = 1, // Show outline tree
pmUseThumbs
= 2, // Show thumbnails
pmFullScreen
= 3
// Open the document in full screen mode
}TPageMode;
The function returns the page mode that is used when opening the document with Adobe's Acrobat.
GetPageNum
Syntax:
SI32 pdfGetPageNum(
const PPDF* IPDF) // Instance pointer
The function returns the page number of the currently open page. If no open page can be detected
the return value is a negative error code.
 

Previous topic: GetPageLabel

Next topic: GetPageObject (Rendering Engine), GetPageOrientation (Rendering Engine), GetPageText