Applies to: PDFBuilderASP

Last updated: 30 November 2018


How can a PDF file be displayed in the browser using PDFBuilderASP?


The BinaryWrite function of PDFBuilderASP does not work with ASP.NET. The StreamData function must be used to create an array of bytes in memory containing the PDF file data. This can then be sent to the browser using Response.BinaryWrite. The necessary code can be found as the last six lines in this example.