DhStyleBase.setMarginWidth

Overview | Methods | Fields | This Package | All Packages

DhStyleBase.setMarginWidth

Sets the width of all the margins to the specified value.

Syntax

public void setMarginWidth( int nWidth, int nUnit )

public void setMarginWidth( int nMarginMask, int nWidth, int nUnit )

Parameters

nWidth

The width of the margins.

nUnit

The unit of the margins widths. For margin width values, see DhUnits.

nMarginMask

A combination of the margins you want apply. For margin mask values, see DhMargins.