Margins

Margins class

Represents margin settings for each edge of an object.

public class Margins

Constructors

Name Description
Margins() Initializes a new instance of the Margins class.
Margins(MarginType, double, double, double, double) Initializes a new instance of the Margins class with the specified type, location and size.

Properties

Name Description
Bottom { get; set; } Gets or sets the bottom margin.
Left { get; set; } Gets or sets the left margin.
MarginType { get; set; } Gets or sets margin type. Setting a new value to this property automatically returns all margins to their default values (zero).
Right { get; set; } Gets or sets the right margin.
Top { get; set; } Gets or sets the top margin.

See Also