UniformScale Property

Specifies whether a shape scales horizontally and vertically by the same amount.

Syntax

object.UniformScale [= Boolean]

Properties

The UniformScale property syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

Boolean

Whether the object scales uniformly.

Settings

The settings for Boolean are:

Value

Description

True

The shapes scale both horizontally and vertically by the same percentage.

False

The shapes will horizontally and vertically scale independently. (Default)

Remarks

Vertical and horizontal scaling can either be performed independently of one another, or uniformly using the same percentages. Uniform scaling is also used when the user holds the control key down while scaling the object with the mouse.

Setting this flag to True before rubber band creation allows you to create a square from the Rectangle object and a circle from the Oval object.

 

Applies To