Location: PHPKode > scripts > PHP DataGrid > modules/fpdf/doc/setdisplaymode.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<LINK TYPE="text/css" REL="stylesheet" HREF="../fpdf.css">
<TT>SetDisplayMode(<B>mixed</B> zoom [, <B>string</B> layout])</TT>
<H4 CLASS='st'>Version</H4>
<H4 CLASS='st'>Description</H4>
Defines the way the document is to be displayed by the viewer. The zoom level can be set: pages can be
displayed entirely on screen, occupy the full width of the window, use real size, be scaled by a
specific zooming factor or use viewer default (configured in the Preferences menu of Acrobat).
The page layout can be specified too: single at once, continuous display, two columns or viewer
By default, documents use the full width mode with continuous display.
<H4 CLASS='st'>Parameters</H4>
The zoom to use. It can be one of the following string values:
<LI><TT>fullpage</TT>: displays the entire page on screen
<LI><TT>fullwidth</TT>: uses maximum width of window
<LI><TT>real</TT>: uses real size (equivalent to 100% zoom)
<LI><TT>default</TT>: uses viewer default mode
or a number indicating the zooming factor to use.
The page layout. Possible values are:
<LI><TT>single</TT>: displays one page at once
<LI><TT>continuous</TT>: displays pages continuously
<LI><TT>two</TT>: displays two pages on two columns
<LI><TT>default</TT>: uses viewer default mode
Default value is <TT>continuous</TT>.
<HR STYLE="margin-top:1.2em">
<DIV ALIGN="CENTER"><A HREF="index.htm">Index</A></DIV>
Return current item: PHP DataGrid