API Reference

Class

PowerPointSmartArt

Namespace OfficeIMO.PowerPoint
Assembly OfficeIMO.PowerPoint

Represents a SmartArt diagram on a PowerPoint slide.

Inheritance

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Methods

public String GetNodeText(Int32 index) #
Returns: String

Gets the text of an editable SmartArt node.

Parameters

index System.Int32 requiredposition: 0
public IReadOnlyList<String> GetNodeTexts() #
Returns: IReadOnlyList<String>

Gets all editable SmartArt node texts in data-model order.

public Void SetNodeText(Int32 index, String text) #
Returns: Void

Replaces the text of an editable SmartArt node.

Parameters

index System.Int32 requiredposition: 0
text System.String requiredposition: 1
public Boolean TryGetOfficeDiagramSnapshot(out OfficeDiagramSnapshot snapshot) #
Returns: Boolean

Tries to expose the current SmartArt content through the shared dependency-free semantic diagram contract.

Parameters

snapshot OfficeIMO.Drawing.OfficeDiagramSnapshot@ requiredposition: 0
public Boolean TryGetTopology(out PowerPointSmartArtTopology topology, out String diagnostic) #
Returns: Boolean

Tries to project imported layout and parent/child connections into a topology that OfficeIMO can edit without changing diagram meaning.

Parameters

topology OfficeIMO.PowerPoint.PowerPointSmartArtTopology@ requiredposition: 0
diagnostic System.String@ requiredposition: 1
public PowerPointSmartArt UpdateTopology(IEnumerable<PowerPointSmartArtNode> nodes) #
Returns: PowerPointSmartArt

Updates text, sibling order, and parent connections in place. Node creation, deletion, unsupported layouts, cycles, and meaning-changing topologies are rejected.

Parameters

nodes System.Collections.Generic.IEnumerable{OfficeIMO.PowerPoint.PowerPointSmartArtNode} requiredposition: 0

Properties

public Int32 NodeCount { get; } #

Gets the number of editable SmartArt nodes.