public final class SmartArtNode extends java.lang.Object implements ISmartArtNode
Represents node of a SmartArt object
| Modifier and Type | Method and Description |
|---|---|
IFillFormat |
getBulletFillFormat()
Returns the FillFormat object that contains fill formatting properties for a node bullet.
|
ISmartArtNodeCollection |
getChildNodes()
Returns collections of all child nodes of the current node.
|
int |
getLevel()
Returns nesting level of the node.
|
int |
getOrganizationChartLayout()
Returns or sets organization chart layout type associated with current node.
|
int |
getPosition()
Returns or sets zero-based position of node among sibling nodes.
|
ISmartArtShapeCollection |
getShapes()
Returns collections of all shapes associated with the node.
|
ITextFrame |
getTextFrame()
Returns text frame of the node.
|
boolean |
isAssistant()
Returns or sets the node as assistant.
|
boolean |
isHidden()
Returns true if this node is a hidden node in the data model.
|
boolean |
remove()
Remove current node.
|
void |
setAssistant(boolean value)
Returns or sets the node as assistant.
|
void |
setOrganizationChartLayout(int value)
Returns or sets organization chart layout type associated with current node.
|
void |
setPosition(int value)
Returns or sets zero-based position of node among sibling nodes.
|
public final ISmartArtNodeCollection getChildNodes()
Returns collections of all child nodes of the current node.
Read-only ISmartArtNodeCollection.
getChildNodes in interface ISmartArtNodepublic final ISmartArtShapeCollection getShapes()
Returns collections of all shapes associated with the node.
Read-only ISmartArtShapeCollection.
getShapes in interface ISmartArtNodepublic final ITextFrame getTextFrame()
Returns text frame of the node.
Read-only ITextFrame.
getTextFrame in interface ISmartArtNodepublic final boolean isAssistant()
Returns or sets the node as assistant. Read/write boolean.
isAssistant in interface ISmartArtNodepublic final void setAssistant(boolean value)
Returns or sets the node as assistant. Read/write boolean.
setAssistant in interface ISmartArtNodepublic final int getLevel()
Returns nesting level of the node.
Read-only int.
getLevel in interface ISmartArtNodepublic final 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.
getBulletFillFormat in interface ISmartArtNodepublic final int getPosition()
Returns or sets zero-based position of node among sibling nodes.
Read/write int.
getPosition in interface ISmartArtNodecom.aspose.ms.System.ArgumentOutOfRangeException - value is less than 0. -or- value is equal to or greater than siblings countpublic final void setPosition(int value)
Returns or sets zero-based position of node among sibling nodes.
Read/write int.
setPosition in interface ISmartArtNodecom.aspose.ms.System.ArgumentOutOfRangeException - value is less than 0. -or- value is equal to or greater than siblings countpublic final boolean isHidden()
Returns true if this node is a hidden node in the data model. Read-only boolean.
isHidden in interface ISmartArtNodepublic final int getOrganizationChartLayout()
Returns or sets organization chart layout type associated with current node.
Read/write OrganizationChartLayoutType.
getOrganizationChartLayout in interface ISmartArtNodepublic final void setOrganizationChartLayout(int value)
Returns or sets organization chart layout type associated with current node.
Read/write OrganizationChartLayoutType.
setOrganizationChartLayout in interface ISmartArtNodepublic final boolean remove()
Remove current node.
remove in interface ISmartArtNodeCopyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.