Margins class
Leave feedback
On this page
Represents margin settings for each edge of an object.
The Margins type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of the Margins class. |
| init | Initializes a new instance of the Margins class with the specified type, location and size. |
| Property | Description |
|---|---|
| bottom | The bottom margin, expressed as a horizontal offset from the parent bottom border. |
| left | The left margin, expressed as the horizontal offset from the parent left border. |
| margin_type | The margin type. Setting a new value automatically resets all margins to their default values (zero). |
| right | The right margin. Horizontal offset from parent right border. |
| top | The top margin, expressed as the horizontal offset from the parent top border. |
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.