BCGControlBar Pro for MFC
HBITMAP CBCGPGraphicsManager::ExportSymbolToBitmap ( wchar_t  c,
const CBCGPTextFormat textFormat,
const CBCGPBrush foregroundBrush 
)

Exports single character to bitmap.

Call this method to export a single character to the bimtap. This method is useful in case of the icon fonts such as "Segoe MDL2 Assets" (Windows 10) or "Segoe Fluent Icons" (Windows 11).

Parameters
cThe character to be exported.
textFormatThe text format.
foregroundBrushThe symbol foreground color.
Returns
The handle of the image or NULL is this method failed.