ISmartArtNode
public interface ISmartArtNode
Represents node of a SmartArt diagram.
Methods
Method | Description |
---|---|
getChildNodes() | Returns collections of all child nodes of current node. |
getShapes() | Returns collections of all shapes associated with the node. |
getTextFrame() | Returns or sets text of the node. |
isAssistant() | Returns or sets the node as assistant. |
setAssistant(boolean value) | Returns or sets the node as assistant. |
getLevel() | Returns nesting level of the node. |
getBulletFillFormat() | Returns the FillFormat object that contains fill formatting properties for a node bullet. |
getPosition() | Returns or sets zero-based position of the node among sibling nodes. |
setPosition(int value) | Returns or sets zero-based position of the node among sibling nodes. |
isHidden() | Returns true if this node is a hidden node in the data model. |
getOrganizationChartLayout() | Returns or sets organization chart layout type associated with current node. |
setOrganizationChartLayout(int value) | Returns or sets organization chart layout type associated with current node. |
remove() | Remove current node. |
getChildNodes()
public abstract ISmartArtNodeCollection getChildNodes()
Returns collections of all child nodes of current node. Read-only ISmartArtNodeCollection.
Returns: ISmartArtNodeCollection
getShapes()
public abstract ISmartArtShapeCollection getShapes()
Returns collections of all shapes associated with the node. Read-only ISmartArtShapeCollection.
Returns: ISmartArtShapeCollection
getTextFrame()
public abstract ITextFrame getTextFrame()
Returns or sets text of the node. Read-only ITextFrame.
Returns: ITextFrame
isAssistant()
public abstract boolean isAssistant()
Returns or sets the node as assistant. Read/write boolean.
Returns: boolean
setAssistant(boolean value)
public abstract void setAssistant(boolean value)
Returns or sets the node as assistant. Read/write boolean.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getLevel()
public abstract int getLevel()
Returns nesting level of the node. Read-only int.
Returns: int
getBulletFillFormat()
public abstract IFillFormat getBulletFillFormat()
Returns the FillFormat object that contains fill formatting properties for a node bullet. Note: can return null for certain types of SmartArt layout which does not provide bullets for nodes. Read-only IFillFormat.
Returns: IFillFormat
getPosition()
public abstract int getPosition()
Returns or sets zero-based position of the node among sibling nodes. Read/write int.
Returns: int
setPosition(int value)
public abstract void setPosition(int value)
Returns or sets zero-based position of the node among sibling nodes. Read/write int.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
isHidden()
public abstract boolean isHidden()
Returns true if this node is a hidden node in the data model. Read-only boolean.
Returns: boolean
getOrganizationChartLayout()
public abstract int getOrganizationChartLayout()
Returns or sets organization chart layout type associated with current node. Read/write OrganizationChartLayoutType.
Returns: int
setOrganizationChartLayout(int value)
public abstract void setOrganizationChartLayout(int value)
Returns or sets organization chart layout type associated with current node. Read/write OrganizationChartLayoutType.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
remove()
public abstract boolean remove()
Remove current node.
Returns: boolean - true if removed succesfully, otherwise false.