BCGSuite for MFC
BOOL CBCGPBaseVisualObject::ExportToImage ( CBCGPGraphicsManager pGM,
CBCGPImage image,
const CBCGPBrush brFill = CBCGPBrush(CBCGPColor::White) 
)

Exports the visual object to an image.

Parameters
pGMThe graphics manager.
imageThe result image.
brFillThe fill brush .
Returns
TRUE if it succeeds, FALSE if it fails.