BCGSuite for MFC
virtual CBCGPSize CBCGPChartLegendVisualObject::GetLegendSize ( BOOL  bWithPadding = TRUE,
CBCGPGraphicsManager pGM = NULL 
)
virtual

Returns legend size

Call this method to retrieve legend size. Set bWithPadding to FALSE to retrieve the exact legend size. If bWithPadding is TRUE, this method adds the padding specified in m_legendStyle. It should be taken into account when you reposition the legend within container.

Parameters
bWithPaddingspecifies whether the legend size should be returned with padding (default), or not
pGMa pointer to a graphics manager