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


MotionEffect.FromX Property

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.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property FromX As Single
    Get
    Set
'Usage
Dim instance As MotionEffect
Dim value As Single

value = instance.FromX

instance.FromX = value
float FromX { get; set; }

Property Value

Type: System.Single

Remarks

Use this property in conjunction with the ToX property to resize or jump from one position to another.

Do not confuse this property with the From property of the ColorEffect, RotationEffect, or PropertyEffect objects, which are used to set colors, rotations, or other properties of an animation behavior, respectively.

See Also

Reference

MotionEffect Interface

MotionEffect Members

Microsoft.Office.Interop.PowerPoint Namespace