Set SmartArt Paragraph Format

Introduction

Aspose.Slides Cloud API allows you to set the default paragraph formatting for SmartArt graphics and individual SmartArt nodes. The DefaultParagraphFormat property can be specified on the SmartArt object to apply uniform paragraph styling to all nodes, or on individual SmartArtNode objects to override the format for specific nodes. For an introduction to adding SmartArt graphics, see Add a SmartArt Graphic to a Slide.

API Information

API Type Description Resource
/slides/{name}/slides/{slideIndex}/shapes POST Adds a SmartArt shape with paragraph formatting to a slide. CreateShape
/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex} PUT Updates an existing SmartArt shape and its paragraph formatting. UpdateShape

Example

Add a SmartArt BasicProcess graphic to the first slide in MyFolder/MyPresentation.pptx. Set the default paragraph format to use bold text with a font size of 14 for all nodes.

cURL Solution

SDK Solutions

SDKs

Check Available SDKs to learn how to add an SDK to your project.