VerticalScaleDirection Property

Specifies if the direction in which the specified shape will expand or contract when the VerticalScalePercentage property is changed.

Syntax

object.VerticalScaleDirection [= enumVerticalDirection]

Properties

The VerticalScaleDirection property syntax has these parts:

Part

Description

object

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

enumVerticalDirection

The direction to scale.

Settings

The settings for enumVerticalDirection are:

Constant

Value

Description

VerticalFromTop

0

Fill from the top

VerticalFromBottom

1

Fill from the bottom

VerticalFromCenter

2

Fill outward from the center

Remarks

Scaling from center can be used to create the illusion that an object is moving towards or away from the user.

 

Applies To