HotXLS Docs

Shape property

Returns a TXLSShape object that represents the shape attached to the specified comment. Read TXLSShape.

Syntax

property Shape: TXLSShape;

Example

This example sets the width and text of comment for cell E5.

With Workbook.Sheets[1].Range['E5', 'E5'].AddComment do begin
  Text := 'Comment'; 
  Shape.Width := 300;
end;