Microsoft SDK for Java

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.