I am using a aspose Library with license to write the custom properties in ppt extension OLE files.
I am getting the errors in the scenario of particular file:
- Adding Custom Property and Saving : No problem
- Removing Custom Property from above custom property set file and saving: No Problem .
- Again Adding the custom into above deleted custom property file : Getting following Exception in save function and File Size = Zero.
Kindly Support.
[System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Aspose.Slides. .( ? )
at Aspose.Slides. .( ? )
at Aspose.Slides. .( ? )
at Aspose.Slides. .( ? )
at Aspose.Slides. ? .( ? )
at Aspose.Slides. ? . ()
at Aspose.Slides. ? .()
at Aspose.Slides. ? .(Stream , ISaveOptions )
at Aspose.Slides.Presentation.Save(Stream stream, SaveFormat format, ISaveOptions options)
at Aspose.Slides.Presentation.Save(String fname, SaveFormat format)