Interface IOfficeSmartArtNodes
Represents a collection of nodes within a SmartArt diagram.
Namespace: Syncfusion.Office
Assembly: Syncfusion.Compression.NET.dll
Syntax
public interface IOfficeSmartArtNodes : IEnumerable<IOfficeSmartArtNode>, IEnumerable
Properties
Count
Gets the number of nodes contained in the SmartArt node collection. Read-only.
Declaration
int Count { get; }
Property Value
Type |
---|
System.Int32 |
Item[Int32]
Gets a node at the specified index of the SmartArt node collection. Read-only.
Declaration
IOfficeSmartArtNode this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the SmartArt node. |
Property Value
Type | Description |
---|---|
IOfficeSmartArtNode | Returns an IOfficeSmartArtNode instance. |
Methods
Add()
Adds a new SmartArt node to the end of the SmartArt node collection.
Declaration
IOfficeSmartArtNode Add()
Returns
Type | Description |
---|---|
IOfficeSmartArtNode | Returns an IOfficeSmartArtNode instance that represents the new SmartArt node. |
Clear()
Removes all the nodes from the SmartArt.
Declaration
void Clear()
IndexOf(IOfficeSmartArtNode)
Returns the zero-based index of the first occurrence of a specified node within the SmartArt node collection.
Declaration
int IndexOf(IOfficeSmartArtNode smartArtNode)
Parameters
Type | Name | Description |
---|---|---|
IOfficeSmartArtNode | smartArtNode | The IOfficeSmartArtNode instance to locate in the collection. |
Returns
Type | Description |
---|---|
System.Int32 | The zero-based index of the first occurrence of the SmartArt node within the collection if found; otherwise, –1. |
Remove(IOfficeSmartArtNode)
Removes the first occurrence of a specified node from the SmartArt node collection.
Declaration
bool Remove(IOfficeSmartArtNode smartArtNode)
Parameters
Type | Name | Description |
---|---|---|
IOfficeSmartArtNode | smartArtNode | The SmartArt node to remove from the collection. |
Returns
Type | Description |
---|---|
System.Boolean | True if the specified SmartArt node is removed from the collection; otherwise, false. |
RemoveAt(Int32)
Removes the node at the specified index from the SmartArt node collection.
Declaration
void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the node to be removed. |