BCGSuite for MFC
BOOL CBCGPDiagramVisualObject::SetTextData ( const CString &  str,
int  nIndex,
BOOL  bRedraw 

Sets text data in the diagram item.

strThe text label.
nIndexA zero-based index of the item text label in the labels list.
bRedrawSpecifies whether the item should be repainted.
TRUE if it succeeds, FALSE if it fails.