Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointSmartArt

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Source revision
551365f138da with working tree changes

Represents a SmartArt diagram on a PowerPoint slide.

Inheritance

Usage

Explore 3 API references to this type

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

Methods

public string GetNodeText(int index) #

Gets the text of an editable SmartArt node.

Parameters

index int required

Returns

string
public IReadOnlyList<string> GetNodeTexts() #

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

Returns

IReadOnlyList<string>
public void SetNodeText(int index, string text) #

Replaces the text of an editable SmartArt node.

Parameters

index int required
text string required
public bool TryGetOfficeDiagramSnapshot(out OfficeDiagramSnapshot snapshot) #

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

Parameters

snapshot OfficeIMO.Drawing.OfficeDiagramSnapshot required

Returns

bool
public bool TryGetTopology(out PowerPointSmartArtTopology topology, out string diagnostic) #

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 required
diagnostic string required

Returns

bool
public PowerPointSmartArt UpdateTopology(IEnumerable<PowerPointSmartArtNode> nodes) #

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> required

Properties

public int NodeCount { get; } #

Gets the number of editable SmartArt nodes.