We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Exception when reading simple stream

The following program throws an exception with the message “Cannot find central directory”.

(If I had to guess, I would say that Aspose is probably ignoring the LoadOptions parameter)

I am using version

private static void Doit() {
var sample=@“a,b,c
var lo=new LoadOptions(LoadFormat.CSV);
var wb=new Workbook(new MemoryStream(Encoding.ASCII.GetBytes(sample)));

My bad. Please disregard!!!