HotXLS Belgeleri

Range özellik

Döndürür a Range object that represents a cell or a range of cells

Sözdizimi

property Range[Cell1: string, Cell2: string]: IXLSRange;
Cell1 String. Bu, aralığın sol üst köşesindeki hücreye bir A1 stili başvuru olmalıdır
Cell2 String. Bu, aralığın sağ alt köşesindeki hücreye bir A1 stili başvuru olmalıdır

Örnek

This example sets the value of cell A1 on the first sheet to 3.14159

Workbook.Sheets[1].Range['A1','A1'].Value := 3.14159;
This example sets the font style in cells A1:D10 on the first sheet to bold

Workbook.Sheets[1].Range['A1', 'D10'].Font.Bold := True;