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

Sets a new text label.

Parameters
strThe text label.
brTextThe text brush.
bRedrawSpecifies whether the item should be repainted.