Adding emf failes


#1

I am adding EMF with this code to the presentation( you may insert it into demo WF presentation after creating presentation:

 System.IO.FileStream fpic = new System.IO.FileStream(MapPath(".") + “\2.emf”, 
System.IO.FileMode.Open, System.IO.FileAccess.Read);
>> int picid = pres.Pictures.Add(new Picture( pres, fpic));
fpic.Close();
but with attachted EMF i get Invalid parameter used error
Can you suggest any ways to fix it?



#2

Thank you, Philipp. It will be fixed asap.


#3

Dear Philipp,

Please check new 1.7.3 hot fix. We have fixed large metafiles importing.
http://www.aspose.com/blogs/alexey.zhilin/