title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
ShapeNode.Points property (PowerPoint) |
vbapp10.chm561003 |
|
|
1ba61c2f-708d-d2a5-aac0-68f566f19337 |
06/08/2017 |
medium |
Returns a Variant that represents the position of the specified node as a coordinate pair. Read-only.
expression.Points
expression A variable that represents a ShapeNode object.
Variant
Each coordinate is expressed in points. Use the SetPosition method to set the value of this property.
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
[!includeSupport and feedback]