com.aspose.slides
Interface ISmartArtNode

All Known Implementing Classes:
SmartArtNode

public interface ISmartArtNode

Represents node of a SmartArt diagram.


Method Summary
 IFillFormat getBulletFillFormat()
           Returns the FillFormat object that contains fill formatting properties for a node bullet.
 ISmartArtNodeCollection getChildNodes()
           Returns collections of all child nodes of 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 the node among sibling nodes.
 ISmartArtShapeCollection getShapes()
           Returns collections of all shapes associated with the node.
 ITextFrame getTextFrame()
           / Returns text 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 the node among sibling nodes.
 

Method Detail

getChildNodes

ISmartArtNodeCollection getChildNodes()

Returns collections of all child nodes of current node. Read-only ISmartArtNodeCollection.


getShapes

ISmartArtShapeCollection getShapes()

Returns collections of all shapes associated with the node. Read-only ISmartArtShapeCollection.


getTextFrame

ITextFrame getTextFrame()

/ Returns text of the node. Read-only .


isAssistant

boolean isAssistant()

Returns or sets the node as assistant. Read/write boolean.


setAssistant

void setAssistant(boolean value)

Returns or sets the node as assistant. Read/write boolean.


getLevel

int getLevel()

Returns nesting level of the node. Read-only int.


getBulletFillFormat

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.


getPosition

int getPosition()

Returns or sets zero-based position of the node among sibling nodes. Read/write int.

Throws:
com.aspose.ms.System.ArgumentOutOfRangeException - Value is less than 0. -or- value is equal to or greater than siblings count.

setPosition

void setPosition(int value)

Returns or sets zero-based position of the node among sibling nodes. Read/write int.

Throws:
com.aspose.ms.System.ArgumentOutOfRangeException - Value is less than 0. -or- value is equal to or greater than siblings count.

isHidden

boolean isHidden()

Returns true if this node is a hidden node in the data model. Read-only boolean.


getOrganizationChartLayout

int getOrganizationChartLayout()

Returns or sets organization chart layout type associated with current node. Read/write OrganizationChartLayoutType.


setOrganizationChartLayout

void setOrganizationChartLayout(int value)

Returns or sets organization chart layout type associated with current node. Read/write OrganizationChartLayoutType.


remove

boolean remove()

Remove current node.

Returns:
True if removed succesfully, otherwise false.


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.