BCGSuite for MFC
const BCGPChartCellParams& CBCGPChartLegendCell::GetCellParams ( ) const
inline

Returns a reference to current cell parameters

If you wish to modify cell parameters:

Copy
params.m_brTextColor = ...;
// set desired brush ...
// set other properties
pCell->SetCellParams(params); // set parameters back to cell.

You can also unconst the returned value and change parameters directly. If you change any text properties affecting cell size, call CBCGPChartLegendVisualObject::InvalidateLegendSize.