BCGControlBar Pro for MFC
BOOL CBCGPVisualContainer::ExportToImage ( CBCGPGraphicsManager pGM,
CBCGPImage image,
BOOL  bFullImage = FALSE 
)

Exports the visual container to an image.

Parameters
pGMThe graphics manager.
imageThe result image.
bFullImageSpecifies whether full container area will be exported. If this parameter is FALSE, only currently visible container area will be exported.
Returns
TRUE if it succeeds, FALSE if it fails.