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”,but with attachted EMF i get Invalid parameter used error
System.IO.FileMode.Open, System.IO.FileAccess.Read);
>> int picid = pres.Pictures.Add(new Picture( pres, fpic));
fpic.Close();
Can you suggest any ways to fix it?