This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /guides/dotnet/conversion/pdf-to-svg.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. Convert PDF to SVG in C# .NET: Fast and accurate | Nutrient .NET SDK
PDF to SVG

Nutrient .NET SDK converts a PDF document to SVG output.

Prepare the project

Register the SDK license before running conversion operations. For setup details, refer to the getting started with .NET SDK guide.

using GdPicture14;
LicenseManager license = new LicenseManager();
license.RegisterKEY("");
using GdPictureDocumentConverter converter = new GdPictureDocumentConverter();
GdPictureStatus status = converter.LoadFromFile(@"input.pdf", GdPicture14.DocumentFormat.DocumentFormatPDF);
if (status != GdPictureStatus.OK)
{
throw new Exception(status.ToString());
}
status = converter.SaveAsSVG("output.svg");
if (status != GdPictureStatus.OK)
{
throw new Exception(status.ToString());
}