Skip to content
Google Code Exporter edited this page Mar 18, 2015 · 1 revision

SetMargins

fpdf.set_margins(left,top,right=-1)

Description

Defines the left, top and right margins. By default, they equal 1 cm. Call this method to change them.

Parameters

left:

Left margin. top: Top margin. right: Right margin. Default value is the left one.

See also

SetLeftMargin, SetTopMargin, SetRightMargin, SetAutoPageBreak.

Clone this wiki locally