Is it possible to save the pictures in a different folder then Windows temporary folder, when working with streams? I’d like to use a tempfolder in my webapp.
Hi
Thanks for your request. You can use ExportImagesFolder. For example see the following code snippet.
Document doc = new Document("in.doc");
MemoryStream xmlStrm = new MemoryStream();
doc.SaveOptions.ExportImagesFolder = @"C:\Temp";
doc.Save(xmlStrm, SaveFormat.AsposePdf);
Aspose.Pdf.Pdf pdf = new Aspose.Pdf.Pdf();
pdf.BindXML(xmlStrm, null);
pdf.Save("out.pdf");
Hope this helps.
Best regards.