ScalesWidth Property

Specifies whether the user is allowed to change the width of the Text or Datalink object.

Syntax

object.ScalesWidth [= Boolean]

Properties

The ScalesWidth property syntax has these parts:

Part

Description

object

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

Boolean

Whether the text width can be changed.

Settings

The settings for Boolean are:

Value

Description

True

The object's width can be changed.

False

The object's width cannot be changed. (There can be clipping of the text)

Remarks

The behavior of the object by changing the ScalesWidth property is dependent upon the Autosize property. The following table illustrates the dependencies:

Autosize

Value

ScalesWidth Value Resulting Behavior

True

True

Bounding rectangle is recalculated to fit the text.

False

True

The FontSize is recalculated to fit the bounding rectangle.

True

False

Bounding rectangle is recalculated to fit the text.

False

False

The text is clipped.

 

Applies To