Partager via


ColorEffect.From Property

Sets or returns a ColorFormat object that represents the starting RGB color value of an animation behavior.

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

Syntax

'Declaration
ReadOnly Property From As ColorFormat
    Get
'Usage
Dim instance As ColorEffect
Dim value As ColorFormat

value = instance.From
ColorFormat From { get; }

Property Value

Type: Microsoft.Office.Interop.PowerPoint.ColorFormat

Remarks

Use this property in conjunction with the To property to transition from one color to another.

Do not confuse this property with the FromX or FromY properties of the ScaleEffect object or the FromX or FromY properties of the MotionEffect object, which are only used for scaling or motion effects.

See Also

Reference

ColorEffect Interface

ColorEffect Members

Microsoft.Office.Interop.PowerPoint Namespace