colonymech / docs / www / colonyscout / internal / fpdf16 / doc / setdisplaymode.htm @ f59acf11
History | View | Annotate | Download (1.75 KB)
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 Acrobat). |
15 |
The page layout can be specified too: single at once, continuous display, two columns or viewer |
16 |
default. |
17 |
<br>
|
18 |
By default, documents use the full width mode with continuous display. |
19 |
<h2>Parameters</h2> |
20 |
<dl class="param"> |
21 |
<dt><code>zoom</code></dt> |
22 |
<dd>
|
23 |
The zoom to use. It can be one of the following string values: |
24 |
<ul>
|
25 |
<li><code>fullpage</code>: displays the entire page on screen</li> |
26 |
<li><code>fullwidth</code>: uses maximum width of window</li> |
27 |
<li><code>real</code>: uses real size (equivalent to 100% zoom)</li> |
28 |
<li><code>default</code>: uses viewer default mode</li> |
29 |
</ul>
|
30 |
or a number indicating the zooming factor to use. |
31 |
</dd>
|
32 |
<dt><code>layout</code></dt> |
33 |
<dd>
|
34 |
The page layout. Possible values are: |
35 |
<ul>
|
36 |
<li><code>single</code>: displays one page at once</li> |
37 |
<li><code>continuous</code>: displays pages continuously</li> |
38 |
<li><code>two</code>: displays two pages on two columns</li> |
39 |
<li><code>default</code>: uses viewer default mode</li> |
40 |
</ul>
|
41 |
Default value is <code>continuous</code>. |
42 |
</dd>
|
43 |
</dl>
|
44 |
<hr style="margin-top:1.5em"> |
45 |
<div style="text-align:center"><a href="index.htm">Index</a></div> |
46 |
</body>
|
47 |
</html>
|