BCGControlBar Pro for MFC
HBITMAP CBCGPSVGImage::ExportToBitmap ( double  dblScale = 1.0,
COLORREF  clrBackground = CLR_NONE,
double  dblScaleVert = 0.0,
BOOL  bUseViewBoxSize = FALSE,
BOOL  bOptimizedConvertion = FALSE 
)

Exports SVG image to bitmap.

Parameters
dblScaleSpecifies the scale. The default scale is 1.0 (100%).
clrBackgroundSpecifies the bitmap background color.
dblScaleVertSpecifies the vertical scale. The default scale is 0.0 (the horizontal scale is used).
bUseViewBoxSizeSpecifies whether the view box size should be used instead of the image size.
bOptimizedConvertionSpecifies whether an optimized (single-pass) rendering will be used. The optimized conversion is always used for the font icons export.
Returns
The handle of the bitmap if succeeded; NULL if export is failed.