BCGControlBar Pro for MFC
BOOL CBCGPTextFormat::CreateFromLogFont ( const LOGFONT &  lf)

Creates a text format from the LOGFONT structure.

Parameters
lfA reference to the source LOGFONT structure.
Returns
TRUE if it succeeds, FALSE if it fails.