Package com.grapecity.documents.excel
Class CellDecorationIcon
java.lang.Object
com.grapecity.documents.excel.CellDecorationIcon
- All Implemented Interfaces:
ICellDecorationIcon
Indicates the icon of cell decoration.
-
Constructor Summary
ConstructorsConstructorDescriptionCellDecorationIcon(String src, int width, int height, IconPosition position) Creates a new instance of the DecorationIcon class. -
Method Summary
-
Constructor Details
-
CellDecorationIcon
Creates a new instance of the DecorationIcon class.- Parameters:
src- The icon src string.width- The icon width in pixels.height- The icon height in pixels.position- The icon position.
-
-
Method Details
-
getSrc
Gets the icon src string.- Specified by:
getSrcin interfaceICellDecorationIcon
-
getWidth
public int getWidth()Gets the icon width in pixels.- Specified by:
getWidthin interfaceICellDecorationIcon
-
getHeight
public int getHeight()Gets the icon height in pixels.- Specified by:
getHeightin interfaceICellDecorationIcon
-
getPosition
Gets the icon position.- Specified by:
getPositionin interfaceICellDecorationIcon
-