## set_right_margin ##

```python
fpdf.set_right_margin(margin: float)
```

### Description ###

Defines the right margin. The method can be called before creating the first page.

### Parameters ###

margin:
> The margin.

### See also ###

[set_top_margin](set_top_margin.md), [set_left_margin](set_left_margin.md), [set_auto_page_break](set_auto_page_break.md), [set_margins](set_margins.md).
