Class Margins

Margins class

This class encapsulates top, left, bottom and right margins.

public class Margins

Constructors

NameDescription
Margins(int, int, int, int)Initializes an instance of Margin class.

Methods

NameDescription
override Equals(object)Compares this margins with other.
override GetHashCode()Calculates hashcode for this margins object.
set(int, int, int, int)Specifies margins values.
override ToString()Make up a string representing this margins object.

Fields

NameDescription
bottomBottom margin.
leftLeft margin.
rightRight margin.
topTop margin.

See Also