SRGraphLegend::CalcCharSize
CSizeSRGraphLegend::CalcCharSize(CFont*pFont)
Determines the size of a typical character in font m_Font
Defined in: SRGraphLegend.cpp
Return Value
CSize containing the width and height of a typical character
Parameters
pFont
CFont* pFont Pointer to the font to be measured
Remarks
This size is used with m_nMaxChar and m_nMaxLine to determine the amount of space allocated for each labels in the legend.Override this function if the text of your labels is atypical (e.g all caps).