StaAddLabel

StaAddLabel is used to add a text label to a given variable. To perform this operation in STATISTICA's COM library, simply call:
 

Programming Language

Example

Visual Basic

'assuming "Spr" is a spreadsheet
Spr.SetTextLabel(1,3,"CATS","Feline animal")

C++

'assuming "pSpreadsheet" is a pointer to a spreadsheet
pSpreadSheet->SetTextLabel(1,3,"CATS", "Feline animal");

See also Migrating from StaDev to STATISTICA's COM architecture for a comprehensive list of all StaDev32 functions that can be migrated to STATISTICA's COM library.