Hi Aspose team,
I used your sample code (a bit extended) to loop through hyperlinks and to make change if I find word aspose with some other strings.
When I try to save new file I am getting error:
Unhandled Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at . ?()
at ? .Write()
at Aspose.CAD.FileFormats.Cad.CadImage.SaveData(Stream stream)
at Aspose.CAD.DataStreamSupporter.Save(Stream stream)
at Aspose.CAD.DataStreamSupporter.Save(String filePath)
at Aspose_CAD.AutoCAD.UpdateHyperlink(String filename) in…
Am I doing something wrong?
I tried with different CAD formats (2000-2013) but always the same issues.
All test documents are stored in CAD folder.
Project is attached here.
AutoCADSaveProblem.zip (1.2 MB)