I need to use HTMLToPDF activity to create PDF file from HTML where I am referencing a section. HTMLToPDF activity has a parameter called "PDFDocument" to send the file to the user's browser. What parameter does it consume to send the PDF file to browser?
This is the code from HTMLToPDF step 4 in 7.3.1. The generatePDF function is used to generate the byteArray and that it what is put into the PDFDocument parameter. The Code-Pega-PDF.View activity can be used to view the pdf in the browser.