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

DynaPDF Manual - Page 429

Previous Page 428   Index   Next Page 430

Function Reference
Page 429 of 750
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: GetPageText