Points Property

Microsoft PowerPoint Visual Basic

Show All

Points Property

       

Points property as it applies to the PropertyEffect object.

Returns an AnimationPoints object that represents a point in an animation. Use the From and To properties to set the value of this property.

expression.Points

expression   Required. An expression that returns a PropertyEffect object.

 

Points property as it applies to the ShapeNode object.

Returns a Variant that represents the position of the specified node as a coordinate pair. Each coordinate is expressed in points. Use the SetPosition method to set the value of this property. Read-only.

expression.Points

expression   Required. An expression that returns a ShapeNode object.

Example

As it applies to the ShapeNode object.

This example moves node two in shape three in the active presentation to the right 200 points and down 300 points. Shape three must be a freeform drawing.

With ActivePresentation.Slides(1).Shapes(3).Nodes
    pointsArray = .Item(2).Points
    currXvalue = pointsArray(1, 1)
    currYvalue = pointsArray(1, 2)
    .SetPosition Index:=2, X1:=currXvalue + 200, Y1:=currYvalue + 300
End With