Microsoft SDK for Java

ToolBarButton.getRect

Retrieves the rectangular area that this button occupies.

Syntax

public final Rectangle getRect()

Return Value

Returns a Rectangle object that specifies the area that this button occupies. If this button has no parent, this method returns null.

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