PdfToSvgConverter
Overview
PdfToSvgConverter is a class in Aspose.PDF FOSS for .NET.
Converts PDF pages to SVG format.
This class provides 4 methods for working with PdfToSvgConverter objects in .NET programs.
Available methods include: SaveAllPagesAsSvg, SaveAllPagesToFiles, SavePageAsSvg, SavePageToFile.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Methods
| Signature | Description |
|---|---|
SavePageAsSvg(doc: Document, pageNumber: int) | Convert a single page to SVG string. |
SaveAllPagesAsSvg(doc: Document) | Convert each page to SVG separately. |
SavePageToFile(doc: Document, pageNumber: int, path: string) | Save a page’s SVG output to a file. |
SaveAllPagesToFiles(doc: Document, directory: string, prefix: string) | Save each page as a separate SVG file. |