Back to Devexpress

TdxCustomSpreadSheet.GetSheetByName(string) Method

vcl-dxspreadsheetcore-dot-tdxcustomspreadsheet-dot-getsheetbyname-x28-system-dot-string-x29.md

latest1.1 KB
Original Source

TdxCustomSpreadSheet.GetSheetByName(string) Method

Returns the specified generic worksheet object.

Declaration

delphi
function GetSheetByName(const ACaption: string): TdxSpreadSheetCustomView;

Parameters

NameType
ACaptionstring

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

TdxCustomSpreadSheet Class

TdxCustomSpreadSheet Members

dxSpreadSheetCore Unit