In this demo you can learn how to layout and overlay multiple HTML objects in the same PDF document.

The HTML from URL 1 is laid out at the beginning of the PDF document and the URL 2 is laid out immediately after first HTML or on a new page if 'Layout on New Page' option is on. If the second HTML is laid out on a new page then there is the option to change the orientation of the new pages.
URL 1
URL 2