ShapeNode.Points property (PowerPoint)
Returns a Variant that represents the position of the specified node as a coordinate pair. Read-only.
Syntax
expression.Points
expression A variable that represents a ShapeNode object.
Return value
Variant
Remarks
Each coordinate is expressed in points. Use the SetPosition method to set the value of this property.
Example
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
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for