Table of contents
TOC
Collapse the table of content
Expand the table of content

ShapeNodes.Delete Method (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Deletes the specified shape node object.

Syntax

expression. Delete( Index)

_expression_A variable that represents a ShapeNodes object.

Parameters

NameRequired/OptionalData TypeDescription
IndexRequired[INT]Long. The number of the shape node to delete.

Example

This example deletes the first node in the first shape in the active publication.

Sub DeleteNode() 
 ActiveDocument.Pages(1).Shapes(1).Nodes.Delete Index:=1 
End Sub
© 2018 Microsoft