BCGSuite for MFC
void CBCGPDiagramTextDataObject::SetText ( const CString &  str,
const CBCGPColor clrText,
BOOL  bRedraw = FALSE 
)

Sets a new text label.

Parameters
strThe text label.
clrTextThe text color.
bRedrawSpecifies whether the item should be repainted.