HotXLS Docs

Add shape methods

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, ACol11-based worksheet coordinates of the top-left corner
ARow2, ACol21-based worksheet coordinates of the bottom-right corner
ARangeA1-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

TXLSWorksheet class
TXLSShape class