Class SmartArtShapeInfo
Provides a semantic, editable view of a document SmartArt graphic.
Inherited Members
Namespace: DRIT.Document.Drawing
Assembly: DRIT.Document.dll
Syntax
public sealed class SmartArtShapeInfo
Properties
AllNodes
Gets all nodes in flat diagram order.
Declaration
public SmartArtNodeCollection AllNodes { get; }
Property Value
| Type | Description |
|---|---|
| SmartArtNodeCollection |
ColorStyleId
Gets the SmartArt color style identifier.
Declaration
public string ColorStyleId { get; }
Property Value
| Type | Description |
|---|---|
| string |
ColorStyleName
Gets the SmartArt color style display name.
Declaration
public string ColorStyleName { get; }
Property Value
| Type | Description |
|---|---|
| string |
IsDirty
Gets whether a semantic edit has been made through this view.
Declaration
public bool IsDirty { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Layout
Gets the mapped SmartArt layout family.
Declaration
public SmartArtLayoutType Layout { get; }
Property Value
| Type | Description |
|---|---|
| SmartArtLayoutType |
LayoutName
Gets the SmartArt layout display name when available.
Declaration
public string LayoutName { get; }
Property Value
| Type | Description |
|---|---|
| string |
LayoutUniqueId
Gets the SmartArt layout unique identifier.
Declaration
public string LayoutUniqueId { get; }
Property Value
| Type | Description |
|---|---|
| string |
Nodes
Gets all nodes in flat diagram order.
Declaration
public IReadOnlyList<SmartArtNode> Nodes { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<SmartArtNode> |
QuickStyleId
Gets the SmartArt quick style identifier.
Declaration
public string QuickStyleId { get; }
Property Value
| Type | Description |
|---|---|
| string |
QuickStyleName
Gets the SmartArt quick style display name.
Declaration
public string QuickStyleName { get; }
Property Value
| Type | Description |
|---|---|
| string |
RootNodes
Gets root nodes in diagram order.
Declaration
public IReadOnlyList<SmartArtNode> RootNodes { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<SmartArtNode> |
Methods
TryGetNode(string, out SmartArtNode)
Finds a node by model identifier.
Declaration
public bool TryGetNode(string modelId, out SmartArtNode node)
Parameters
| Type | Name | Description |
|---|---|---|
| string | modelId | |
| SmartArtNode | node |
Returns
| Type | Description |
|---|---|
| bool |