It seems you’re encountering an issue while converting a .dxf file to .svg using Aspose.CAD. The stack trace indicates a problem with parsing a number, which could be related to the content of the .dxf file itself.
Here are a few steps you can take to troubleshoot and potentially resolve the issue:
Check the .dxf File: Ensure that the .dxf file is not corrupted and is in a valid format. You can try opening it in a CAD application to verify its integrity.
Update Aspose.CAD: Make sure you are using the latest version of the Aspose.CAD library, as updates often include bug fixes and improvements.
Simplify the Options: Try using default options for the conversion to see if the issue persists. You can modify your code as follows:
var img = Image.Load("InputFile.dxf");
img.Save("OutputFile.svg", new SvgOptions());
Inspect the Content: If the problem continues, consider inspecting the contents of the .dxf file for any unusual data that might be causing the parsing error.
Contact Support: If none of the above steps resolve the issue, consider reaching out to Aspose support with the .dxf file for further assistance.
If you need more detailed guidance or examples, feel free to ask!