ImageGear v26.3 - Updated November 9, 2022
Developer Guide / How to Work with ... / SVG
SVG

The ImageGear.Formats.SVG Namespace provides SVG write support, and belongs to the ImageGear.Core.dll assembly.

Convert Single-Page Raster Image to SVG

Use ImGearFileFormats.SavePage method with ImGearSavingFormats.SVG to create a single SVG file from one raster ImGearPage. See our ConvertRasterImageFormat sample for a similar example.

Convert Multi-Page Raster Image to SVG

Use ImGearFileFormats.SaveDocument method with ImGearSavingFormats.SVG to create a single SVG file from all raster pages of the source ImGearDocument. See our ConvertMultipageRasterImageToSVG sample for an example.