Portfolio / oncall / www / php / fpdf / doc / setmargins.htm

Full commit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link type="text/css" rel="stylesheet" href="../fpdf.css">
<code>SetMargins(<b>float</b> left, <b>float</b> top [, <b>float</b> right])</code>
Defines the left, top and right margins. By default, they equal 1 cm. Call this method to change
<dl class="param">
Left margin.
Top margin.
Right margin. Default value is the left one.
<h2>See also</h2>
<a href="setleftmargin.htm">SetLeftMargin()</a>,
<a href="settopmargin.htm">SetTopMargin()</a>,
<a href="setrightmargin.htm">SetRightMargin()</a>,
<a href="setautopagebreak.htm">SetAutoPageBreak()</a>.
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>