SVG Drawings
Contents
[
Hide
]
Exporting SVG Format To PDF
Aspose.CAD for Python allows developers to export an SVG file to PDF format. SVG to PDF conversion approach works as follows:
- Load SVG drawing file using the Image.load factory method.
- Create an object of the CadRasterizationOptions class and set the page_height & page_width properties.
- Create an object of the PdfOptions class and set the VectorRasterizationOptions property.
- Call Image.save while passing an object of PdfOptions as the second parameter.