Whenever i am trying get text from password protected .pptx file at that time it throws an exception from below code in Aspose.Slides C#.
string filePath=@"S:\2022\Input Data\This is password protected file.pptx";
IPresentationText presentationText= PresentationFactory.Instance.GetPresentationText(filePath,TextExtractionArrangingMode.Unarranged);
It gives below error:
'Object reference not set to an instance of an object.'.. Aspose.Slides.PptUnsupportedFormatException: 'Unknown file format.'.
Please provide solution for this issue.
Thanks.