DrawObject

DrawObject class

DrawObject will be initialized and returned when rendering.

class DrawObject;

Methods

MethodDescription
getCell()Indicates the Cell object when rendering. All properties of cell can be accessed.
getShape()Indicates the Shape object when rendering. All properties of shape can be accessed.
getImageBytes()Indicates image bytes of rendered Chart, Shape when rendering.
getType()Indicates the type of DrawObject.
getCurrentPage()Indicates the page index of DrawObject. Page index is based on zero. One Sheet contains several pages when rendering.
getTotalPages()Indicates total pages in current rendering.
getSheetIndex()Indicates current sheet index of DrawObject.

getCell()

Indicates the Cell object when rendering. All properties of cell can be accessed.

getCell() : Cell;

Returns

Cell

getShape()

Indicates the Shape object when rendering. All properties of shape can be accessed.

getShape() : Shape;

Returns

Shape

getImageBytes()

Indicates image bytes of rendered Chart, Shape when rendering.

getImageBytes() : number[];

Returns

number[]

getType()

Indicates the type of DrawObject.

getType() : DrawObjectEnum;

Returns

DrawObjectEnum

getCurrentPage()

Indicates the page index of DrawObject. Page index is based on zero. One Sheet contains several pages when rendering.

getCurrentPage() : number;

getTotalPages()

Indicates total pages in current rendering.

getTotalPages() : number;

getSheetIndex()

Indicates current sheet index of DrawObject.

getSheetIndex() : number;