Microsoft SDK for Java

Control.scale

Scales the entire control and any child controls.

Syntax

public final void scale( float ratio )

public final void scale( float dx, float dy )

Parameters

dx

The ratio by which to scale the control horizontally.

dy

The ratio by which to scale the control vertically.

ratio

The ratio by which to scale the control horizontally and vertically.

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