ImageGear .NET v25.1 - Updated
Rasterizing a Vector Drawing
User Guide > How to Work with... > SVG and Other Vector Formats > Rasterizing a Vector Drawing

To rasterize a vector drawing, use the Rasterize Method of ImGearVectorPage Class.  This creates a copy of the drawing in bitmap format. For example:

C#
Copy Code
if (igPage is ImGearVectorPage)
    igPage = ((ImGearVectorPage)igPage).Rasterize();

To control the size of the rasterized bitmap, you can do one of following:

SVG cannot be resized before it's rasterized; SVG doesn't have control parameters, and cannot be resized using the Resize Method. To resize an SVG, you need to rasterize it first, then resize it.