DynaPDF Manual - Page 780

Previous Page 779   Index   Next Page 781

Function Reference
Page 780 of 839
SetPageOrientation
Syntax:
LBOOL pdfSetPageOrientation(
const PPDF* IPDF, // Instance pointer
IPGE* PagePtr,
// Page pointer returned by GetPageObject()
SI32 Value);
// New value
The function changes the orientation of page. This function is intended to be fast as possible. It
requires no open page like SetOrientation() and accesses the property directly.
The parameter PagePtr must be a valid pointer returned by GetPageObject().
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, SetPageMode

Next topic: SetPDFVersion