ByteScout PDF Renderer SDK - VB.NET - Make Thumbnail Module1.vb Imports System.Drawing Imports Bytescout.PDFRenderer Module Module1 Sub Main() ' Create an instance of Bytescout.PDFRenderer.RasterRenderer object and register it Dim renderer As New RasterRenderer() renderer.RegistrationName = "demo" renderer.RegistrationKey = "demo" ' Load PDF document renderer.LoadDocumentFromFile("multipage.pdf") ' Get size of the page in Points (standard PDF document units; 1 Point = 1/72") Dim rectangle As RectangleF = renderer.GetPageRectangle(0) Dim width, height As Integer If rectangle.Width < rectangle.Height [...]