Created
March 4, 2025 10:11
-
-
Save conholdate-gists/18dcb13fc90cb8c23fdd3dc0d4f0349f to your computer and use it in GitHub Desktop.
Convert DXF to SVG in Java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load DXF file | |
var converter = new com.groupdocs.conversion.Converter("sample.dxf"); | |
// Set conversion parameters for SVG format | |
var convertOptions = new com.groupdocs.conversion.filetypes.FileType().fromExtension("svg").getConvertOptions(); | |
// Convert DXF to SVG format | |
converter.convert("output.svg", convertOptions); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment