MotionEffect Members (PowerPoint)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a motion effect for an AnimationBehavior object.

Properties

Name

Description

Application

Returns an Application object that represents the creator of the specified object.

ByX

Sets or returns a Single that represents scaling or moving an object horizontally by a specified percentage of the screen width, depending on whether it used in conjunction with a ScaleEffect or MotionEffect object, respectively. For example, a value of 50 for a motion effect means to move the object half the screen width to the right. Read/write.

ByY

Sets or returns a Single that represents scaling or moving an object vertically by a specified percentage of the screen width, depending on whether it is used in conjunction with a ScaleEffect or MotionEffect object, respectively. Read/write.

FromX

Sets or returns a Single that represents the starting width or horizontal position of a MotionEffect object, specified as a percent of the screen width. Read/write.

FromY

Returns or sets a Single that represents the vertical position of a MotionEffect object, specified as a percentage of the screen width. Read/write.

Parent

Returns the parent object for the specified object.

Path

Returns a String that represents the path followed by a MotionEffect object. Read-only.

ToX

Sets or returns a Single that represents the horizontal position of a MotionEffect object, specified as a percent of the screen width. Read/write.

ToY

Returns or sets a Single that represents the vertical position of a MotionEffect object, specified as a percentage of the screen width. Read/write.