BCGSuite for MFC
HBITMAP CBCGPSVGImage::ExportToBitmap ( const CSize &  sizeDest,
COLORREF  clrBackground = CLR_NONE,
BOOL  bKeepAspectRatio = TRUE,
BOOL  bUseViewBoxSize = FALSE,
BOOL  bOptimizedConvertion = FALSE 
)

Exports SVG image to bitmap.

Parameters
sizeDestSpecifies the bitmap destination size.
clrBackgroundSpecifies the bitmap background color.
bKeepAspectRatioSpecifies whether the image aspect ratio should be maintained.
bUseViewBoxSizeSpecifies whether the view box size should be used instead of the image size.
Returns
The handle of the bitmap if succeeded; NULL if export is failed.
Parameters
bOptimizedConvertionSpecifies whether an optimized (single-pass) rendering will be used. The optimized conversion is always used for the font icons export.