Share via


PropertyEffect.From Property

Sets or returns a Variant that represents the starting 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 From As Object
    Get
    Set
'Usage
Dim instance As PropertyEffect
Dim value As Object

value = instance.From

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

Property Value

Type: System.Object

Remarks

The From property is similar to the [F:Microsoft.Office.Interop.PowerPoint.PropertyEffect.From.ppproPoints1_HV05193293.htm#Points#SameCHM] property, but using the From property is easier for simple tasks.

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.From.ppproFromX_HV03082376.htm#FromX#SameCHM] or [F:Microsoft.Office.Interop.PowerPoint.PropertyEffect.From.ppproFromY_HV03082377.htm#FromY#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