Microsoft SDK for Java

getPreferredSize

This method of the ActiveXControl Class retrieves the preferred size of the ActiveXControl object.

Syntax

public Dimension getPreferredSize();

Return Value

Returns the preferred width and height of the object, measured in pixels.

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