Skip to content

Instantly share code, notes, and snippets.

@aspose-com-gists
Created November 5, 2020 02:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aspose-com-gists/0a483b70ef3cc1336638c35e482745d7 to your computer and use it in GitHub Desktop.
Save aspose-com-gists/0a483b70ef3cc1336638c35e482745d7 to your computer and use it in GitHub Desktop.
// Load PDF file
Document doc = new Document("Input.pdf");
// Instantiate an object of SvgSaveOptions
SvgSaveOptions saveOptions = new SvgSaveOptions();
// Do not compress SVG image to Zip archive
saveOptions.CompressOutputToZipArchive = false;
// Save the PDF as SVG file
doc.save("output.svg", saveOptions);
// Load PDF file
Document doc = new Document("Input.pdf");
// Instantiate an object of SvgSaveOptions
SvgSaveOptions saveOptions = new SvgSaveOptions();
// Save the PDF as SVG file
doc.save("output.svg", saveOptions);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment