Draw with GDI+ and save as vector

System.Drawing.Imaging.Metafile is probably the best option, msdn has some information however it does look a bit of an odd class to work with at first glance.

Edit: Ignore me, as usual marble eater is talking sense and bothering to do real research...
 
Last edited by a moderator:
The .Net Framework does not have any support for saving vector images. It treats them internally as System.Drawing.Imaging.Metafile objects (as opposed to System.Drawing.Bitmap objects) but the Metafile.Save method does not save a vertor image.
MSDN said:
When you use the Save method to save a graphic image as a Windows Metafile Format (WMF) or Enhanced Metafile Format (EMF) file, the resulting file is saved as a Portable Network Graphics (PNG) file instead. This behavior occurs because the GDI+ component of the .NET Framework does not have an encoder that you can use to save files as .wmf or .emf files.
 
Back
Top