PDF To SVG
PDF SVG Format Conversion Graphics Container
Reads vector content from a PDF file and saves it to an SVG format.
Сode Snippet
using (var reader = new PdfReader("Seal.pdf"))
using (var writer = new SvgWriter("Seal.svg", reader.Width, reader.Height, reader.DpiX, reader.DpiY))
using (var gr = writer.GetGraphics())
{
using (var container = reader.Frames[0].GetContent())
{
gr.DrawContainer(container, 0, 0);
}
}
Input
Seal.pdf
DownloadOutput
Seal.svg
For AI-assisted development: Download Graphics Mill Code Samples XML Catalog