Aspose.SVG for .NET Documentation

Aspose.SVG for .NET product icon

Aspose.SVG for .NET is a C# API for creating, editing, inspecting, converting, rendering, optimizing, and vectorizing SVG documents in .NET applications. Use it when your application needs programmatic control over SVG DOM nodes, attributes, styles, filters, transformations, drawing, or output formats such as PDF, XPS, PNG, JPG, TIFF, BMP, GIF, and WebP.

C# SVG Development Topics

Convert SVG to PDF in C#

The example below shows a common Aspose.SVG for .NET workflow: load an SVG document, create PDF save options, and write a PDF file.

1using Aspose.Svg;
2using Aspose.Svg.Converters;
3using Aspose.Svg.Saving;
4
5using var document = new SVGDocument("document.svg");
6var options = new PdfSaveOptions();
7
8Converter.ConvertSVG(document, options, "document.pdf");

For more output formats and save options, open the SVG conversion guides linked above.

Aspose.SVG for .NET Resources

Aspose.SVG also provides free online SVG applications for conversion, merging, vectorization, sprite creation, Base64 encoding, and SVG text vectorization. Use the web apps for quick manual tasks, and use Aspose.SVG for .NET when you need the same SVG workflows automated in C# applications.

SVG Free Online Applications