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

Sets text data in the diagram item.

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