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

DynaPDF Manual - Page 697

Previous Page 696   Index   Next Page 698

Function Reference
Page 697 of 750
SetPageHeight
Syntax:
LBOOL pdfSetPageHeight(
const PPDF* IPDF, // Instance pointer
double Value)
// New height
The function changes the height of the currently open page if any, or the default height for newly
created pages. This function changes the media box of a page (see also SetBBox()). The page height
must be greater zero.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetPageLayout
Syntax:
LBOOL pdfSetPageLayout(
const PPDF* IPDF,
// Instance pointer
TPageLayout Layout) // see below
typedef enum
{
plSinglePage
= 0, // Show one page at time
plOneColumn
= 1, // Show the pages continous
plTwoColumnLeft
= 2, // Two columns, start with left column
plTwoColumnRight = 3, // Two columns, start with right column
plTwoPageLeft
= 4, // PDF 1.5
plTwoPageRight
= 5, // PDF 1.5
plDefault
= 6
// Use viewer's default settings
}TPageLayout;
The function sets the page layout that is used when opening the document with Adobe's Acrobat.
Default value = plOneColumn
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: Paper formats:

Next topic: SetPDFVersion