source: trunk/client/inc/hpdf/_fpdf/doc/setdisplaymode.htm@ 2

Last change on this file since 2 was 2, checked in by root, 15 years ago

importo il progetto

File size: 1.7 KB
RevLine 
[2]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>
12Defines the way the document is to be displayed by the viewer. The zoom level can be set: pages can be
13displayed entirely on screen, occupy the full width of the window, use real size, be scaled by a
14specific zooming factor or use viewer default (configured in the Preferences menu of Acrobat).
15The page layout can be specified too: single at once, continuous display, two columns or viewer
16default.
17<br>
18By 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>
23The 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>
30or a number indicating the zooming factor to use.
31</dd>
32<dt><code>layout</code></dt>
33<dd>
34The 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>
41Default 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>
Note: See TracBrowser for help on using the repository browser.