| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|---|
| 2 | <html>
|
|---|
| 3 | <head>
|
|---|
| 4 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|---|
| 5 | <title>SetDisplayMode</title>
|
|---|
| 6 | <link type="text/css" rel="stylesheet" href="../fpdf.css">
|
|---|
| 7 | </head>
|
|---|
| 8 | <body>
|
|---|
| 9 | <h1>SetDisplayMode</h1>
|
|---|
| 10 | <code>SetDisplayMode(<b>mixed</b> zoom [, <b>string</b> layout])</code>
|
|---|
| 11 | <h2>Description</h2>
|
|---|
| 12 | Defines the way the document is to be displayed by the viewer. The zoom level can be set: pages can be
|
|---|
| 13 | displayed entirely on screen, occupy the full width of the window, use real size, be scaled by a
|
|---|
| 14 | specific zooming factor or use viewer default (configured in the Preferences menu of Adobe Reader).
|
|---|
| 15 | The page layout can be specified too: single at once, continuous display, two columns or viewer
|
|---|
| 16 | default.
|
|---|
| 17 | <h2>Parameters</h2>
|
|---|
| 18 | <dl class="param">
|
|---|
| 19 | <dt><code>zoom</code></dt>
|
|---|
| 20 | <dd>
|
|---|
| 21 | The zoom to use. It can be one of the following string values:
|
|---|
| 22 | <ul>
|
|---|
| 23 | <li><code>fullpage</code>: displays the entire page on screen</li>
|
|---|
| 24 | <li><code>fullwidth</code>: uses maximum width of window</li>
|
|---|
| 25 | <li><code>real</code>: uses real size (equivalent to 100% zoom)</li>
|
|---|
| 26 | <li><code>default</code>: uses viewer default mode</li>
|
|---|
| 27 | </ul>
|
|---|
| 28 | or a number indicating the zooming factor to use.
|
|---|
| 29 | </dd>
|
|---|
| 30 | <dt><code>layout</code></dt>
|
|---|
| 31 | <dd>
|
|---|
| 32 | The page layout. Possible values are:
|
|---|
| 33 | <ul>
|
|---|
| 34 | <li><code>single</code>: displays one page at once</li>
|
|---|
| 35 | <li><code>continuous</code>: displays pages continuously</li>
|
|---|
| 36 | <li><code>two</code>: displays two pages on two columns</li>
|
|---|
| 37 | <li><code>default</code>: uses viewer default mode</li>
|
|---|
| 38 | </ul>
|
|---|
| 39 | Default value is <code>default</code>.
|
|---|
| 40 | </dd>
|
|---|
| 41 | </dl>
|
|---|
| 42 | <hr style="margin-top:1.5em">
|
|---|
| 43 | <div style="text-align:center"><a href="index.htm">Index</a></div>
|
|---|
| 44 | </body>
|
|---|
| 45 | </html>
|
|---|