Microsoft SDK for Java

Control.getSize

Retrieves the height and width of the control.

Syntax

public final Point getSize()

Return Value

Returns a Point object that contains the dimensions of the control. The Point.x field holds the control width; the Point.y field holds the height.

See Also   setSize

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