Add shape methods for HotXLS components
Syntax
function AddRectangle(ARow1, ACol1, ARow2, ACol2: Integer): TXLSTextBox; overload;
function AddRectangle(ARange: WideString): TXLSTextBox; overload;
function AddOval(ARow1, ACol1, ARow2, ACol2: Integer): TXLSTextBox; overload;
function AddOval(ARange: WideString): TXLSTextBox; overload;
Parameters
| ARow1, ACol1 | 1-based worksheet coordinates of the top-left corner |
| ARow2, ACol2 | 1-based worksheet coordinates of the bottom-right corner |
| ARange | A1-style cell range spanned by the shape |
Remarks
TXLSTextBox descends from TXLSShape, so the result exposes the full shape interface (position, size, fill, line) in addition to text-box specific members
See also