HorizontalScalePercentage Property

Specifies the scale percentage to apply to a shape's width.

Syntax

object.HorizontalScalePercentage [= Double]

Properties

The HorizontalScalePercentage property syntax has these parts:

Part

Description

object

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

Double

The percentage to scale the shape horizontally.

Remarks

In the Configuration environment, HorizontalScalePercentage will not be set back to 100 until the object is de-selected. Therefore, while selected, the object will contain it's current percentage value relative to the size of the object when it was last selected. Once de-selected, the object's HorizontalScalePercentage property will be reset back to 100.

In the Run-time environment, animating the HorizontalScalePercentage property modifies the object's width based on the size of the object when it initially came off disk.

An object's scale percentage can be negative. This causes the object to flip over its left axis. This effect is useful for creating differential bar graphs by using an expression in the data source that takes the value and subtracts a setpoint. The resulting difference from the setpoint can be used to by the HorizontalScalePercentage property. For example, you could animate a color table to change color based on the sign of a result.

 

Applies To