SelectPdf for .NET - Convert from Html Code to Pdf - VB.NET / ASP.NET Sample This sample shows how to use SelectPdf html to pdf converter to convert a raw html code to pdf, also setting a few properties. Html Code: <html> <body> Hello World from selectpdf.com. </body> </html> Base Url: Pdf Page Size: A1 A2 A3 A4 A5 Letter HalfLetter Ledger Legal Pdf Page Orientation: Portrait Landscape Web Page Width: px Web Page Height: px (leave empty to auto detect)