Microsoft SDK for Java

DhStyleBase.setBorderWidth

Sets the border width to the value and unit specified.

Syntax

public void setBorderWidth( int borderMask, int nWidth, int nUnitKey )

public void setBorderWidth( int nWidth, int nUnitKey )

Parameters

borderMask

The border sides you want to set, which can be any combination of the constants in DhBorders.

nWidth

The numerical width of the border.

nUnitKey

The unit key to assign to the width. For values, see DhUnits.

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