Need Sample Code Using Streams

What is the syntax for outputing directly to the browzer? I tried:
'First a input pdf file should be assigned
Dim form As Form = New Form(“c:\inetpub\wwwroot\TestExtraReportWeb\testForm.pdf”, Response.OutputStream)

But this gives an error. “Specified method is not supported” during the form.Save()

Thanks


Dear johns,

Thanks for consideing Aspose.

Is the error is a compile-time error or runtime error? Could you post the further information about the error?

I will test the sample in the asp.net enviroment ASAP.

Best regards.

Dear johns,

Thanks for considering Aspose.
The problem you met is a bug in our product.
Please read this post https://forum.aspose.com/t/136107 to get detailed information and download the latest version.

Best regards.