Skip to main content

TdxSpreadSheetTableColumns.CreateItem(string) Method

Creates a column object at the specified position in the parent worksheet.

Declaration

function CreateItem(const AName: string): TdxSpreadSheetTableColumn; overload;

Parameters

Name Type
AName string

Returns

Type
TdxSpreadSheetTableColumn

Remarks

Call either of the overloaded function variants to access a column object at the specified position. The first function variant accepts the target column’s zero-based index in a worksheet, while the second variant accepts a letter designation of the target column (such as ‘B’, ‘AC’, etc.). Both function variants either return an existing column object or create a new object if the specified column position is empty in the positional sparse list.

Note

A newly created column object is empty (that is, contains no cell objects).

See Also