I'm getting a System.ArgumentException while opening the attached ODS file.
System.ArgumentException was caught
Message=Unknown image format:Invalid parameter.
Source=Aspose.Cells
StackTrace:
em ხ.ᄑ.ڏ(Stream Ԡ)
em ხ.֑.ᄏ(Int32 ᄐ, Stream Ԡ)
em ხ.Ⴔ.ჷ(Shape ้, Stream ص)
em Aspose.Cells.Drawing.ShapeCollection.ڏ(Shape ้, Stream ص)
em Aspose.Cells.Drawing.ShapeCollection.AddPicture(Int32 upperLeftRow, Int32 upperLeftColumn, Stream stream, Int32 widthScale, Int32 heightScale)
em 䢸.䧧.䧫(Worksheet , String 䧬, Int32 ض, Int32 ط, Hashtable 䧨)
em 䢸.䧧.㚅(Worksheet , String Ⴝ, Int32 ض, Int32 ط, XmlTextReader ฐ)
em 䢸.䧔.⮞(Int32 䦼, Int32 䧙, Boolean 䧚)
em 䢸.䧔.⮜()
em 䢸.䧔.ं(XmlTextReader ฐ, 䦽 䦪)
em 䢸.䦢.䦨()
em 䢸.䦢.䦧()
em 䢸.䦢.䦦(ᛸ 㛚)
em 䢸.䢷.䢺(Boolean 䢻)
em 䢸.䢷.ं(ᛸ 㛚)
em 䢸.䢷.ं(Stream Ԡ)
em Aspose.Cells.Workbook.Open(Stream stream, FileFormatType type)
em Aspose.Cells.Workbook.Open(String fileName)
My code is:
Workbook xls = new Workbook(); xls.Open(pFileName);