colonymech / docs / www / colonyscout / internal / fpdf16 / doc / setmargins.htm @ f59acf11
History | View | Annotate | Download (1.02 KB)
1 | f59acf11 | Dan Shope | <!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>SetMargins</title> |
||
6 | <link type="text/css" rel="stylesheet" href="../fpdf.css"> |
||
7 | </head>
|
||
8 | <body>
|
||
9 | <h1>SetMargins</h1> |
||
10 | <code>SetMargins(<b>float</b> left, <b>float</b> top [, <b>float</b> right])</code> |
||
11 | <h2>Description</h2> |
||
12 | Defines the left, top and right margins. By default, they equal 1 cm. Call this method to change |
||
13 | them. |
||
14 | <h2>Parameters</h2> |
||
15 | <dl class="param"> |
||
16 | <dt><code>left</code></dt> |
||
17 | <dd>
|
||
18 | Left margin. |
||
19 | </dd>
|
||
20 | <dt><code>top</code></dt> |
||
21 | <dd>
|
||
22 | Top margin. |
||
23 | </dd>
|
||
24 | <dt><code>right</code></dt> |
||
25 | <dd>
|
||
26 | Right margin. Default value is the left one. |
||
27 | </dd>
|
||
28 | </dl>
|
||
29 | <h2>See also</h2> |
||
30 | <a href="setleftmargin.htm">SetLeftMargin()</a>, |
||
31 | <a href="settopmargin.htm">SetTopMargin()</a>, |
||
32 | <a href="setrightmargin.htm">SetRightMargin()</a>, |
||
33 | <a href="setautopagebreak.htm">SetAutoPageBreak()</a>. |
||
34 | <hr style="margin-top:1.5em"> |
||
35 | <div style="text-align:center"><a href="index.htm">Index</a></div> |
||
36 | </body>
|
||
37 | </html> |