top_margin property

top_margin property

Sets the top margin of a page when converting to PDF.

Remarks

If the parameter is less than 0, then the default value is used. For details, see the documentation.

Definition:

@property
def top_margin(self):
    ...
@top_margin.setter
def top_margin(self, value):
    ...

See Also