Xojo Conferences
XDCMay2019MiamiUSA
MBSOct2019CologneDE

DynaPDF Manual - Page 713

Previous Page 712   Index   Next Page 714

Function Reference
Page 713 of 766
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.
SetPageMode
Syntax:
LBOOL pdfSetPageMode(
const PPDF* IPDF, // Instance pointer
TPageMode Mode)
// see below
typedef enum
{
pmUseNone
= 0, // Default
pmUseOutlines
= 1, // Show the outline tree
pmUseThumbs
= 2, // Show the thumb nails
pmFullScreen
= 3
// Open the document in full-screen mode
pmUseOC
= 4, // PDF 1.5
pmUseAttachments = 5
// PDF 1.6
}TPageMode;
The function sets the page mode that is used when opening the document with Adobe's Acrobat.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetPageWidth
Syntax:
LBOOL pdfSetPageWidth(
const PPDF* IPDF, // Instance pointer
double Value)
// New page width
The function changes the width of the currently open page if any, or the default width for newly
created pages. This function changes the media box of a page (see also SetBBox()). The page width
must be greater zero.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetPageLayout

Next topic: SetPDFVersion