Syntax

expression.Points

expression An expression that returns a ShapeNode object.

Return Value
Variant

Remarks

This property is read-only. Use the method to set the value of this property.

Example

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

Visual Basic for Applications
Set myDocument = Worksheets(1) With myDocument.Shapes(3).Nodes pointsArray = .Item(2).Points currXvalue = pointsArray(1, 1) currYvalue = pointsArray(1, 2) .SetPosition 2, currXvalue + 200, currYvalue + 300 End With
Get xy coordinates measured in points? points points property Return the coordinates of a certain node?

See also: