hi Andrey
Cannot open a PPTX when a video is inserted from physical link path containing illegal characters for Windows such as \ / : * ? " < > |
Error message:
Illegal characters in path
code:
using (var stream = new FileStream(ppt, FileMode.Open))
{
Aspose.Slides.Presentation presentation = null;
try
{
presentation = new Aspose.Slides.Presentation(stream, loadOptions);
}
catch (Exception ex)
{
WriteLog("Cannot open PPTX file: " + ex.Message, LogType.error);
}
}
file: (please delete after usage !)
Thank you !