Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 500 Bytes

SetMargins.md

File metadata and controls

24 lines (15 loc) · 500 Bytes

SetMargins

fpdf.set_margins(left: float, top: float, right: float = -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

SetTopMargin, SetLeftMargin, SetRightMargin, SetAutoPageBreak.