setmargins.htm 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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>SetMargins</TITLE>
  6. <LINK TYPE="text/css" REL="stylesheet" HREF="../fpdf.css">
  7. </HEAD>
  8. <BODY>
  9. <H2>SetMargins</H2>
  10. <TT>SetMargins(<B>float</B> left, <B>float</B> top [, <B>float</B> right])</TT>
  11. <H4 CLASS='st'>Version</H4>
  12. 1.0
  13. <H4 CLASS='st'>Description</H4>
  14. Defines the left, top and right margins. By default, they equal 1 cm. Call this method to change
  15. them.
  16. <H4 CLASS='st'>Parameters</H4>
  17. <TT><U>left</U></TT>
  18. <BLOCKQUOTE>
  19. Left margin.
  20. </BLOCKQUOTE>
  21. <TT><U>top</U></TT>
  22. <BLOCKQUOTE>
  23. Top margin.
  24. </BLOCKQUOTE>
  25. <TT><U>right</U></TT>
  26. <BLOCKQUOTE>
  27. Right margin. Default value is the left one.
  28. </BLOCKQUOTE>
  29. <H4 CLASS='st'>See also</H4>
  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.2em">
  35. <DIV ALIGN="CENTER"><A HREF="index.htm">Index</A></DIV>
  36. </BODY>
  37. </HTML>