Represents a comment for a cell.
Constructors
Section titled "Constructors"WorksheetCellComment
new WorksheetCellComment(): WorksheetCellComment Returns WorksheetCellComment
Properties
Section titled "Properties"$t: Type Accessors
Section titled "Accessors"author
Section titled "author"Gets or sets the author of the comment.
get author(): string
Returns string
set author(a: string): void Parameters
- a:
string
Returns void
bottomRightCornerCell
Section titled "bottomRightCornerCell"Inherited from: WorksheetShape
Gets or sets the cell where the bottom-right corner of the shape resides.
get bottomRightCornerCell(): WorksheetCell
Returns WorksheetCell
bottomRightCornerPosition
Section titled "bottomRightCornerPosition"Inherited from: WorksheetShape
Gets or sets the position in the [[bottomRightCornerCell]] of the shape's bottom-right corner, expressed in percentages.
get bottomRightCornerPosition(): IgPoint
Returns IgPoint
set bottomRightCornerPosition(a: IgPoint): void Parameters
- a:
IgPoint
Returns void
Gets the cell to which the comment is applied. The cell to which the comment is applied.
get cell(): WorksheetCell
Returns WorksheetCell
Inherited from: WorksheetShape
Gets or sets the fill to use in the background of the shape.
get fill(): ShapeFill
Returns ShapeFill
flippedHorizontally
Section titled "flippedHorizontally"Inherited from: WorksheetShape
Gets or sets the value which indicates whether the shape is flipped horizontally along the vertical center line.
get flippedHorizontally(): boolean
Returns boolean
set flippedHorizontally(a: boolean): void Parameters
- a:
boolean
Returns void
flippedVertically
Section titled "flippedVertically"Inherited from: WorksheetShape
Gets or sets the value which indicates whether the shape is flipped vertically along the horizontal center line.
get flippedVertically(): boolean
Returns boolean
set flippedVertically(a: boolean): void Parameters
- a:
boolean
Returns void
outline
Section titled "outline"Inherited from: WorksheetShape
positioningMode
Section titled "positioningMode"Inherited from: WorksheetShape
Gets or sets the way shapes will be repositioned in excel when cells before or within the shape are resized.
get positioningMode(): ShapePositioningMode
Returns ShapePositioningMode
sheet
Section titled "sheet"Inherited from: WorksheetShape
Gets the worksheet on which the shape resides. The worksheet on which the shape resides.
get sheet(): Sheet
Returns Sheet
topLeftCornerCell
Section titled "topLeftCornerCell"Inherited from: WorksheetShape
Gets or sets the cell where the top-left corner of the shape resides.
get topLeftCornerCell(): WorksheetCell
Returns WorksheetCell
topLeftCornerPosition
Section titled "topLeftCornerPosition"Inherited from: WorksheetShape
Gets or sets the position in the [[topLeftCornerCell]] of the shape's top-left corner, expressed in percentages.
get topLeftCornerPosition(): IgPoint
Returns IgPoint
set topLeftCornerPosition(a: IgPoint): void Parameters
- a:
IgPoint
Returns void
visible
Section titled "visible"Inherited from: WorksheetShape
Gets or sets the value indicating whether the shape is visible on the worksheet. The value indicating whether the shape is visible on the worksheet.
get visible(): boolean
Returns boolean
set visible(a: boolean): void Parameters
- a:
boolean
Returns void
worksheet
Section titled "worksheet"Inherited from: WorksheetShape
Gets the worksheet on which the shape resides. The worksheet on which the shape resides.
get worksheet(): Worksheet
Returns Worksheet
Methods
Section titled "Methods"clearUnknownData
Section titled "clearUnknownData"Inherited from: WorksheetShape
Clears the cached unknown shape data which was read in from a parsed excel file.
clearUnknownData(): void Returns void
getBoundsInTwips
Section titled "getBoundsInTwips"Inherited from: WorksheetShape
Gets the bounds of the shape in twips (1/20th of a point).
getBoundsInTwips(): IgRect Returns IgRect
setBoundsInTwips
Section titled "setBoundsInTwips"Inherited from: WorksheetShape
Sets the bounds of the shape in twips (1/20th of a point).
setBoundsInTwips(sheet: Sheet, bounds: IgRect): void Parameters
- sheet:
SheetThe worksheet on which the shape should be placed.
- bounds:
IgRectThe new bounds where the shape should be placed.
Returns void
createPredefinedShape
Section titled "createPredefinedShape"Inherited from: WorksheetShape
Creates a shape which is predefined in Microsoft Excel.
createPredefinedShape(shapeType: PredefinedShapeType): WorksheetShape Parameters
- shapeType:
PredefinedShapeTypeThe type of shape to create.
Returns WorksheetShape
staticInit
Section titled "staticInit"Inherited from: WorksheetShape
staticInit(): void