Margins class

Margins class

Represents margin settings for each edge of an object.

The Margins type exposes the following members:

Constructors

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.

Properties

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.

See Also