[903] | 1 | <HTML>
|
---|
| 2 | <HEAD>
|
---|
| 3 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
|
---|
| 4 | <TITLE>SetDisplayMode</TITLE>
|
---|
| 5 | <LINK TYPE="text/css" REL="stylesheet" HREF="../fpdf.css">
|
---|
| 6 | </HEAD>
|
---|
| 7 | <BODY>
|
---|
| 8 | <H2>SetDisplayMode</H2>
|
---|
| 9 | <TT>SetDisplayMode(<B>mixed</B> zoom [, <B>string</B> layout])</TT>
|
---|
| 10 | <H4 CLASS='st'>Version</H4>
|
---|
| 11 | 1.2
|
---|
| 12 | <H4 CLASS='st'>Description</H4>
|
---|
| 13 | Defines the way the document is to be displayed by the viewer. The zoom level can be set: pages can be
|
---|
| 14 | displayed entirely on screen, occupy the full width of the window, use real size, be scaled by a
|
---|
| 15 | specific zooming factor or use viewer default (configured in the Preferences menu of Acrobat).
|
---|
| 16 | The page layout can be specified too: single at once, continuous display, two columns or viewer
|
---|
| 17 | default.
|
---|
| 18 | <BR>
|
---|
| 19 | By default, documents use the full width mode with continuous display.
|
---|
| 20 | <H4 CLASS='st'>Parameters</H4>
|
---|
| 21 | <TT><U>zoom</U></TT>
|
---|
| 22 | <BLOCKQUOTE>
|
---|
| 23 | The zoom to use. It can be one of the following string values:
|
---|
| 24 | <UL>
|
---|
| 25 | <LI><TT>fullpage</TT>: displays the entire page on screen
|
---|
| 26 | <LI><TT>fullwidth</TT>: uses maximum width of window
|
---|
| 27 | <LI><TT>real</TT>: uses real size (equivalent to 100% zoom)
|
---|
| 28 | <LI><TT>default</TT>: uses viewer default mode
|
---|
| 29 | </UL>
|
---|
| 30 | or a number indicating the zooming factor to use.
|
---|
| 31 | </BLOCKQUOTE>
|
---|
| 32 | <TT><U>layout</U></TT>
|
---|
| 33 | <BLOCKQUOTE>
|
---|
| 34 | The page layout. Possible values are:
|
---|
| 35 | <UL>
|
---|
| 36 | <LI><TT>single</TT>: displays one page at once
|
---|
| 37 | <LI><TT>continuous</TT>: displays pages continuously
|
---|
| 38 | <LI><TT>two</TT>: displays two pages on two columns
|
---|
| 39 | <LI><TT>default</TT>: uses viewer default mode
|
---|
| 40 | </UL>
|
---|
| 41 | Default value is <TT>continuous</TT>.
|
---|
| 42 | </BLOCKQUOTE>
|
---|
| 43 | <H6></H6>
|
---|
| 44 | <HR>
|
---|
| 45 | <DIV ALIGN="CENTER"><A HREF="index.htm">Index</A></DIV>
|
---|
| 46 | </BODY>
|
---|
| 47 | </HTML>
|
---|