Skip to content

Latest commit

 

History

History
61 lines (33 loc) · 1.24 KB

PowerPoint.ShapeNode.Points.md

File metadata and controls

61 lines (33 loc) · 1.24 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ShapeNode.Points property (PowerPoint)
vbapp10.chm561003
vbapp10.chm561003
PowerPoint.ShapeNode.Points
1ba61c2f-708d-d2a5-aac0-68f566f19337
06/08/2017
medium

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

ShapeNode Object

[!includeSupport and feedback]