User Guide > How to Work with... > Vector Formats > 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: