<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><metahttp-equiv="Content-Type"content="text/html; charset=ISO-8859-1"><title>SetRightMargin</title><linktype="text/css"rel="stylesheet"href="../fpdf.css"></head><body><h1>SetRightMargin</h1><code>SetRightMargin(<b>float</b> margin)</code><h2>Description</h2>Defines the right margin. The method can be called before creating the first page.<h2>Parameters</h2><dlclass="param"><dt><code>margin</code></dt><dd>The margin.</dd></dl><h2>See also</h2><ahref="setleftmargin.htm">SetLeftMargin()</a>,<ahref="settopmargin.htm">SetTopMargin()</a>,<ahref="setautopagebreak.htm">SetAutoPageBreak()</a>,<ahref="setmargins.htm">SetMargins()</a>.<hrstyle="margin-top:1.5em"><divstyle="text-align:center"><ahref="index.htm">Index</a></div></body></html>