BCGControlBar Pro for MFC
BOOL CBCGPBaseVisualObject::ExportToFile ( const CString &  strFilePath,
CBCGPGraphicsManager pGM,
const CBCGPBrush brFill = CBCGPBrush(CBCGPColor::White) 
)

Exports the visual object to a file (BMP or PNG).

Parameters
strFilePathFull pathname of the file.
pGMThe graphics manager.
brFillThe fill brush (a default value is white).
Returns
TRUE if it succeeds, FALSE if it fails.