SmartArt

Inheritance: java.lang.Object, com.aspose.slides.Shape, com.aspose.slides.GraphicalObject

All Implemented Interfaces: com.aspose.slides.ISmartArt

public class SmartArt extends GraphicalObject implements ISmartArt

Represents a SmartArt diagram

Methods

Method Description
getAllNodes() Returns collections of all nodes in the SmartArt object.
getNodes() Returns collections of root nodes in SmartArt object.
getLayout() Returns or sets layout of the SmartArt object.
setLayout(int value) Returns or sets layout of the SmartArt object.
getQuickStyle() Returns or sets quick style of SmartArt object.
setQuickStyle(int value) Returns or sets quick style of SmartArt object.
getColorStyle() Returns or sets color style of SmartArt object.
setColorStyle(int value) Returns or sets color style of SmartArt object.
isReversed() Return or set the state of the SmartArt diagram with regard to (left-to-right) LTR or (right-to-left) RTL, if the diagram supports reversal.
setReversed(boolean value) Return or set the state of the SmartArt diagram with regard to (left-to-right) LTR or (right-to-left) RTL, if the diagram supports reversal.

getAllNodes()

public final ISmartArtNodeCollection getAllNodes()

Returns collections of all nodes in the SmartArt object. Read-only ISmartArtNodeCollection.

Returns: ISmartArtNodeCollection

getNodes()

public final ISmartArtNodeCollection getNodes()

Returns collections of root nodes in SmartArt object. Read-only ISmartArtNodeCollection.

Returns: ISmartArtNodeCollection

getLayout()

public final int getLayout()

Returns or sets layout of the SmartArt object. Read/write SmartArtLayoutType.

Returns: int

setLayout(int value)

public final void setLayout(int value)

Returns or sets layout of the SmartArt object. Read/write SmartArtLayoutType.

Parameters:

Parameter Type Description
value int

getQuickStyle()

public final int getQuickStyle()

Returns or sets quick style of SmartArt object. Read/write SmartArtQuickStyleType.

Returns: int

setQuickStyle(int value)

public final void setQuickStyle(int value)

Returns or sets quick style of SmartArt object. Read/write SmartArtQuickStyleType.

Parameters:

Parameter Type Description
value int

getColorStyle()

public final int getColorStyle()

Returns or sets color style of SmartArt object. Read/write SmartArtColorType.

Returns: int

setColorStyle(int value)

public final void setColorStyle(int value)

Returns or sets color style of SmartArt object. Read/write SmartArtColorType.

Parameters:

Parameter Type Description
value int

isReversed()

public final boolean isReversed()

Return or set the state of the SmartArt diagram with regard to (left-to-right) LTR or (right-to-left) RTL, if the diagram supports reversal. Read/write ``` boolean ```.

Returns: boolean

setReversed(boolean value)

public final void setReversed(boolean value)

Return or set the state of the SmartArt diagram with regard to (left-to-right) LTR or (right-to-left) RTL, if the diagram supports reversal. Read/write ``` boolean ```.

Parameters:

Parameter Type Description
value boolean