SelectPdf for .NET - Pdf Page Settings - VB.NET / ASP.NET Sample This sample shows how to create a new PDF document using SelectPdf and how to specify the page size, margins and orientation. The sample create a first page with no margins, size A4 and Portrait orientation and a second page with 20pt for all margins, Letter size and Landscape orientation.