We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Initializing Pdf.Document from html stream closes the stream

I’ve tried to convert html document to PDF following the example at http://www.aspose.com/docs/display/pdfnet/Convert+HTML+to+PDF+Format.
Conversion works fine, however if I pass html document as stream to Aspose.Pdf.Document constructor, stream gets closed once constructor finishes. There are other operations I would like to perform on same stream, is there any way to prevent this behaviour, other than copying input stream to temporary MemoryStream beforehand?

Hi Klemen,


Thanks for your inquiry. I have noticed the reported issue and logged an investigation ticket PDFNEWNET-39166 for further investigation and resolution. We will keep you updated about the issue resolution progress within this forum thread.

We are sorry for the inconvenience caused.

Best Regards,