Partager via


RotationEffect.To Property

Sets or returns a single-precision floating-point number that represents the ending rotation of an object in degrees, specified relative to the screen (for example, 90 degrees is completely horizontal). Read/write.

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

Syntax

'Declaration
Property To As Single
    Get
    Set
'Usage
Dim instance As RotationEffect
Dim value As Single

value = instance.To

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

Property Value

Type: System.Single

Remarks

Use this property in conjunction with the From property to transition from one rotation angle to another.

Do not confuse this property with the ToX or ToY properties of the ScaleEffect and MotionEffect objects, which are only used for scaling or motion effects.

See Also

Reference

RotationEffect Interface

RotationEffect Members

Microsoft.Office.Interop.PowerPoint Namespace