Abstract base class for all shapes (atomic or compound) in a worksheet.

WorksheetShape

new WorksheetShape(a: number): WorksheetShape

Returns WorksheetShape

$t: Type
bottomRightCornerCell: WorksheetCell
bottomRightCornerPosition: IgPoint
fill: ShapeFill
flippedHorizontally: boolean
flippedVertically: boolean
outline: ShapeOutline
positioningMode: ShapePositioningMode
topLeftCornerCell: WorksheetCell
topLeftCornerPosition: IgPoint
visible: boolean

Gets the worksheet on which the shape resides. The worksheet on which the shape resides.

get sheet(): Sheet

Returns Sheet

Gets the worksheet on which the shape resides. The worksheet on which the shape resides.

get worksheet(): Worksheet

Returns Worksheet

Clears the cached unknown shape data which was read in from a parsed excel file.

clearUnknownData(): void

Returns void

Gets the bounds of the shape in twips (1/20th of a point).

getBoundsInTwips(): IgRect

Returns IgRect

Sets the bounds of the shape in twips (1/20th of a point).

setBoundsInTwips(sheet: Sheet, bounds: IgRect): void

Parameters

  • sheet: Sheet

    The worksheet on which the shape should be placed.

  • bounds: IgRect

    The new bounds where the shape should be placed.

Returns void

Creates a shape which is predefined in Microsoft Excel.

createPredefinedShape(shapeType: PredefinedShapeType): WorksheetShape

Parameters

Returns WorksheetShape

staticInit(): void

Returns void