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. 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.

See Also