How to use PDFTechLib in restricted (hosting) environments.

"Pdfdocument" object constructor accepts a stream object.

You can use "response.OutputStream" to create a PDF in restricted environments.

Note:

You must upload the fonts you wish to use into an alternate directory because most hosting environments will not
allow access to the Windows/Fonts directory.
See this page on how this can be done: Setting an Alternate
Fonts Directory