Поделиться через


MotionEffect Members

Include Protected Members
Include Inherited Members

Represents a motion effect for an AnimationBehavior object.

The MotionEffect type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the creator of the specified object.
Public property ByX Sets or returns a single-precision floating-point number 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.
Public property ByY Sets or returns a single-precision floating-point number 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.
Public property FromX Sets or returns a single-precision floating-point number that represents the starting width or horizontal position of a MotionEffect object, specified as a percent of the screen width. Read/write.
Public property FromY Returns or sets a single-precision floating-point number that represents the vertical position of a MotionEffect object, specified as a percentage of the screen width. Read/write.
Public property Parent Returns the parent object for the specified object.
Public property Path Returns a string that represents the path followed by a MotionEffect object. Read-only.
Public property ToX Sets or returns a single-precision floating-point number that represents the horizontal position of a MotionEffect object, specified as a percent of the screen width. Read/write.
Public property ToY Sets or returns a single-precision floating-point number that represents the vertical position of a MotionEffect object, specified as a percent of the screen width. Read/write.

Top

See Also

Reference

MotionEffect Interface

Microsoft.Office.Interop.PowerPoint Namespace