Microsoft SDK for Java

DhElement.setWidthUnit

Sets the width of the element using one of the DhUnits constants to express the units of measurement.

Syntax

public void setWidthUnit( int w, int unit )

Parameters

w

The width values.

unit

One of DhUnits constants to express the units of measurement.

See Also   DhStyleBase.getBounds

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