Margins class

Margins class

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

The Margins type exposes the following members:

Constructors

NameDescription
Margins(top, left, bottom, right)Initializes a new instance of the Margins class

Properties

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

Methods

NameDescription
set(top, left, bottom, right)Specifies margins values.

See Also