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. Represents the 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, which determines how margins are interpreted; setting a new value automatically resets all margins to their default values (zero). |
| right | The right margin as a horizontal offset from the parent right border. |
| top | The top margin. |
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.