__init__ constructor
Leave feedback
On this page
Initializes a new instance of the Margins class.
def __init__(self):
...
Initializes a new instance of the Margins class with the specified type, location and size.
def __init__(self, margin_type, left, right, top, bottom):
...
| Parameter | Type | Description |
|---|---|---|
| margin_type | MarginType |
The margin type. Specifies how margin values should be interpreted. |
| left | float |
The left margin value. |
| right | float |
The right margin value. |
| top | float |
The top margin value. |
| bottom | float |
The bottom margin value. |
- class
Margins
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.