DhMarginWidthInfo Class

DhMarginWidthInfo Class

This Package | All Packages

public class DhMarginWidthInfo

Provides information about an element's current margin settings.

Fields
Name Description
bottomUnit Specifies the bottom margin width unit.
bottomWidth Specifies the bottom margin width.
leftUnit Specifies the left margin width unit.
leftWidth Specifies the left margin width.
rightUnit Specifies the right margin width unit.
rightWidth Specifies the right margin width.
topUnit Specifies the top margin width unit.
topWidth Specifies the top margin width.

Constructors
Name Description
DhMarginWidthInfo() Constructs a DhMarginWidthInfo object.
DhMarginWidthInfo( DhMarginWidthInfo mwi ) Constructs a DhMarginWidthInfo object.

Fields

DhMarginWidthInfo.bottomUnit

Syntax
public int bottomUnit;
Description
Specifies the bottom margin width unit.

DhMarginWidthInfo.bottomWidth

Syntax
public int bottomWidth;
Description
Specifies the bottom margin width.

DhMarginWidthInfo.leftUnit

Syntax
public int leftUnit;
Description
Specifies the left margin width unit.

DhMarginWidthInfo.leftWidth

Syntax
public int leftWidth;
Description
Specifies the left margin width.

DhMarginWidthInfo.rightUnit

Syntax
public int rightUnit;
Description
Specifies the right margin width unit.

DhMarginWidthInfo.rightWidth

Syntax
public int rightWidth;
Description
Specifies the right margin width.

DhMarginWidthInfo.topUnit

Syntax
public int topUnit;
Description
Specifies the top margin width unit.

DhMarginWidthInfo.topWidth

Syntax
public int topWidth;
Description
Specifies the top margin width.

Constructors

DhMarginWidthInfo.DhMarginWidthInfo

Syntax 1
public DhMarginWidthInfo();
Description

Constructs a DhMarginWidthInfo object.



Syntax 2
public DhMarginWidthInfo( DhMarginWidthInfo mwi );
Parameters
mwi
The object used to initialize current settings.
Description

Constructs a DhMarginWidthInfo object. This constructor initializes values from an existing DhMarginWidthInfo object.