ImageGear for .NET User Guide > Using ImageGear for .NET > Using ImageGear.Vector Namespace > Rasterizing a Vector Drawing |
To rasterize a vector drawing, use the Rasterize Method of ImGearVectPage Class. This creates a copy of the drawing in bitmap form. 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: