Skip to main content

TdxCustomSpreadSheet.GetSheetByName(string) Method

Returns the specified generic worksheet object.

Declaration

function GetSheetByName(const ACaption: string): TdxSpreadSheetCustomView;

Parameters

Name Type
ACaption string

Returns

Type
TdxSpreadSheetCustomView

Remarks

Call this procedure to obtain the generic worksheet object that corresponds to a sheet whose name is passed as the ACaption parameter. To access the type-specific properties and methods of the returned worksheet object, you need to cast it to the corresponding descendant type (TdxSpreadSheetTableView, for instance).

See Also