I have a workbook that I save into a stream (to later save it as a .PDF). This workbook as a bitmap in it.
When I use:
Dim stream As IO.MemoryStream = New IO.MemoryStream
pWorkBook.Save(stream, FileFormatType.AsposePdf)
I see a file named tmpFile.tmp_img0.jpg in my temp folder.
Is there a way to:
- Not having this file?
- or automatically delete it when no more required?
- or specify a folder to save it?