Search
Margins Members
Constructors Fields Methods
 


Describes rectangular margins.

The following tables list the members exposed by the Margins type.

 Public Constructors

  Name Description

Margins

Overloaded. Initializes a new instance of the Margins class.

 Public Fields

  Name Description

Zero

Identifies a Margins object with zero margins on all sides.

 Public Methods

  Name Description

add

Adds the specified Margins.

getBottom

Gets the width of the bottom side of the frame.

getHeight

Returns the sum of Top and Bottom margins.

getLeft

Gets the width of the left side of the frame.

getRight

Gets the width of the right side of the frame.

getTop

Gets the width of the top side of the frame.

getWidth

Returns the sum of the Left and Right margins.

setBottom

Sets the width of the bottom side of the frame.

setLeft

Sets the width of the left side of the frame.

setRight

Sets the width of the right side of the frame.

setTop

Sets the width of the top side of the frame.

 See Also