BCGControlBar Pro for MFC
virtual CBCGPSize CBCGPGraphicsManager::GetTextSize ( const CString &  strText,
const CBCGPTextFormat textFormat,
double  dblWidth = 0.,
BOOL  bIgnoreTextRotation = FALSE 
)
pure virtual

Gets a text size.

Parameters
strTextThe text.
textFormatAn object that describes formatting details of the text to draw, such as the font, the font size, and flow direction.
dblWidthThe width. You should specify this value to calculate a multi-line text dimensions; if a single-line text is specified, this parameter is ignored.
bIgnoreTextRotationSpecifies whether to ignore rotation attributes when the text dimensions are calculated.
Returns
The text dimensions.