Scale Method

Structured Graphics Control

Sets the current scaling of the x-, y-, and z-axes.

Syntax

ScriptingSGObj.Scale( x-scale, y-scale, z-scale )

Parameters

x-scale, y-scale, z-scale
Sets the new scaling for the x-, y-, and z-axes. The scaling is multiplicative, based on the current values for the shape, with the current size equivalent to 1. For example, scaling the shape by 0.9 sets the shape to 90 percent of its former size.

Example

Right-click inside the frame and choose View Source to see the HTML code for this example.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.