This sample source code below will display you how to convert pdf to bmp with pdf renderer sdk in VB.NET. Want to convert pdf to bmp with pdf renderer sdk in your VB.NET app? ByteScout Premium Suite is designed for it. ByteScout Premium Suite is the bundle that includes twelve SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording.
Want to save time? You will save a lot of time on writing and testing code as you may just take the VB.NET code from ByteScout Premium Suite for convert pdf to bmp with pdf renderer sdk below and use it in your application. Simply copy and paste in your VB.NET project or application you and then run your app! This basic programming language sample code for VB.NET will do the whole work for you to convert pdf to bmp with pdf renderer sdk.
ByteScout provides the free trial version of ByteScout Premium Suite along with the documentation and source code samples.
Imports Bytescout.PDFRenderer Class Program Friend Shared Sub Main(args As String()) ' 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") For i As Integer = 0 To renderer.GetPageCount() - 1 ' Render first page of the document to BMP image file. renderer.Save("image" & i & ".bmp", RasterImageFormat.BMP, 0, 300) Next ' Cleanup renderer.Dispose() ' Open the first output file in default image viewer. System.Diagnostics.Process.Start("image0.bmp") End Sub End Class