Delete a SmartArt Node

Introduction

This article shows you how to delete a SmartArt node using Aspose.Slides Cloud in your applications. The node can be deleted on any level of the SmartArt object. For deleting sub-node, use “subNode” parameter (e.g., “1”, “1/nodes/2”) or leave it empty if the target node is a root node. The method uses a smartArtIndex parameter, which targets a specific SmartArt object among objects of the same type. Let’s say the slide contains ten shapes of various types and only two SmartArt objects among them, the indexes of the SmartArt objects will be 1 and 2 respectively.

API Information

API Type Description Resource
/slides/{name}/slides/{slideIndex}/smartArts/{smartArtIndex}/nodes/{nodeIndex} Delete Delete SmartArt node. DeleteSmartArtNode

cURL Example

The code examples below shows how to delete a second sub-node of the first root node of the SmartArt object.

SDK Source

The Aspose for Cloud SDKs can be downloaded from the following page: Available SDKs

SDK Examples