HotXLS-documentatie

AddTekstvak methode

Inserts a textbox shape with the specified text contents anchofed to cell ranges

Syntaxis

functie AddTekstvak(AText: WideString; ARow1, ACol1, ARow2, ACol2: Integer): TXLSTekstvak; overload; functie AddTekstvak(AText: WideString; ARange: WideString): TXLSTekstvak; overload;

Voorbeeld

This example adds a textbox to the cell range A1:D5

Workbook.Sheets[1].Shapes.AddTextBox('Hello World', 'A1:D5');