Hi Team,
We are unable to change chart links to relative. This was working till Aspose.Slides 22.2, versions after that we have not been able to do it.
Why does Aspose.Slides force the chart links to absolute if the original chart link is relative?
When we try to set the path to an invalid path, it throws a null exception.
There was a null exception thrown when trying to open a certain file, this null exception issue was fixed in Aspose.Slides 23.1, but we cannot update to that version because we will lose the ability to set the path to relative (since Aspose.Slides 22.2 change). This was reported to Aspose in the beginning of February 2023. Here is a link to that Aspose forum ticket, Aspose.Slides for .NET 22.2 Throws an Object Null Reference Exception.
We created a sample project demonstrating this behavior. The sample project uses Aspose.Slides 24.10.
AsposeSlidesSetChartLinkToRelative.7z (34.9 KB)