DrawObject
Contents
[
Hide
]DrawObject class
DrawObject will be initialized and returned when rendering.
class DrawObject;
Properties
Property | Type | Description |
---|---|---|
cell | Cell | Readonly. Indicates the Cell object when rendering. All properties of cell can be accessed. |
shape | Shape | Readonly. Indicates the Shape object when rendering. All properties of shape can be accessed. |
imageBytes | Uint8Array | Readonly. Indicates image bytes of rendered Chart, Shape when rendering. |
type | DrawObjectEnum | Readonly. Indicates the type of DrawObject. |
currentPage | number | Readonly. Indicates the page index of DrawObject. Page index is based on zero. One Sheet contains several pages when rendering. |
totalPages | number | Readonly. Indicates total pages in current rendering. |
sheetIndex | number | Readonly. Indicates current sheet index of DrawObject. |
cell
Readonly. Indicates the Cell object when rendering. All properties of cell can be accessed.
cell : Cell;
shape
Readonly. Indicates the Shape object when rendering. All properties of shape can be accessed.
shape : Shape;
imageBytes
Readonly. Indicates image bytes of rendered Chart, Shape when rendering.
imageBytes : Uint8Array;
type
Readonly. Indicates the type of DrawObject.
type : DrawObjectEnum;
currentPage
Readonly. Indicates the page index of DrawObject. Page index is based on zero. One Sheet contains several pages when rendering.
currentPage : number;
totalPages
Readonly. Indicates total pages in current rendering.
totalPages : number;
sheetIndex
Readonly. Indicates current sheet index of DrawObject.
sheetIndex : number;