ByteScout PDF Renderer SDK - VBScript and VB6 - Convert PDF To BMP - ByteScout
Announcement
Our ByteScout SDK products are sunsetting as we focus on expanding new solutions.
Learn More Open modal
Close modal
Announcement Important Update
ByteScout SDK Sunsetting Notice
Our ByteScout SDK products are sunsetting as we focus on our new & improved solutions. Thank you for being part of our journey, and we look forward to supporting you in this next chapter!

ByteScout PDF Renderer SDK – VBScript and VB6 – Convert PDF To BMP

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Renderer SDK – VBScript and VB6 – Convert PDF To BMP

How to convert PDF to BMP in VBScript and VB6 using ByteScout PDF Renderer SDK

This tutorial will show how to convert PDF to BMP in VBScript and VB6

The code below will help you to implement an VBScript and VB6 app to convert PDF to BMP. Want to convert PDF to BMP in your VBScript and VB6 app? ByteScout PDF Renderer SDK is designed for it. ByteScout PDF Renderer SDK is the SDK for rendering of PDF into high-quality thumbnails and images. Includes various functions like batch processing, PNG, TIFF output. Can be used from web and desktop applications.

You will save a lot of time on writing and testing code as you may just take the VBScript and VB6 code from ByteScout PDF Renderer SDK for convert PDF to BMP below and use it in your application. Follow the instructions from the scratch to work and copy the VBScript and VB6 code. Enjoy writing a code with ready-to-use sample VBScript and VB6 codes.

Trial version of ByteScout PDF Renderer SDK can be downloaded for free from our website. It also includes source code samples for VBScript and VB6 and other programming languages.

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

PDFToBmp.vbs
      
' Create Bytescout.PDFRenderer.RasterRenderer object Set renderer = CreateObject("Bytescout.PDFRenderer.RasterRenderer") renderer.RegistrationName = "demo" renderer.RegistrationKey = "demo" ' Load sample PDF document renderer.LoadDocumentFromFile "../../multipage.pdf" ' Render PDF document at 96 DPI - default PC display resolution ' To get higher quality output, set 200, 300 or more Dim renderingResolution renderingResolution = 96 ' Image format: 0 - BMP; 1 - JPEG; 2 - PNG; 3 - TIFF; 4 - GIF Dim outputImageFormat outputImageFormat = 0 ' Iterate through pages For i = 0 To renderer.GetPageCount() - 1 ' Rendered page to file renderer.Save "page" & CStr(i) & ".bmp", outputImageFormat, i, renderingResolution Next

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout PDF Renderer SDK Home Page

Explore ByteScout PDF Renderer SDK Documentation

Explore Samples

Sign Up for ByteScout PDF Renderer SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout PDF Renderer SDK Home Page

Explore ByteScout PDF Renderer SDK Documentation

Explore Samples

Sign Up for ByteScout PDF Renderer SDK Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next