Share via


PropertyEffect.To Property

Sets or returns a Variant that represents the ending value of an object’s property. Read/write.

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

Syntax

'Declaration
Property To As Object
    Get
    Set
'Usage
Dim instance As PropertyEffect
Dim value As Object

value = instance.To

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

Property Value

Type: System.Object
Variant

Remarks

The default value is Empty, in which case the current position of the object is used.

Do not confuse this property with the [F:Microsoft.Office.Interop.PowerPoint.PropertyEffect.To.ppproToX_HV03082378.htm#ToX#SameCHM] or [F:Microsoft.Office.Interop.PowerPoint.PropertyEffect.To.ppproToY_HV03082379.htm#ToY#SameCHM] properties of the ScaleEffect and MotionEffect objects, which are only used for scaling or motion effects.

See Also

Reference

PropertyEffect Interface

PropertyEffect Members

Microsoft.Office.Interop.PowerPoint Namespace