ByteScout PDF Renderer SDK - VBScript and VB6 - Override Resolution in Rendered Image - ByteScout

ByteScout PDF Renderer SDK – VBScript and VB6 – Override Resolution in Rendered Image

  • Home
  • /
  • Articles
  • /
  • ByteScout PDF Renderer SDK – VBScript and VB6 – Override Resolution in Rendered Image

override resolution in rendered image in VBScript and VB6 and ByteScout PDF Renderer SDK

How To: tutorial on override resolution in rendered image in VBScript and VB6

Today we will explain the steps and algorithm of implementing override resolution in rendered image and how to make it work in your application. Override resolution in rendered image in VBScript and VB6 can be implemented with ByteScout PDF Renderer SDK. ByteScout PDF Renderer SDK is the component (SDK) that renders PDF into high quality images and thumbnails. Includes various functions like page by page processing, BMP, PNG, TIFF or stream output. Can be used from web and desktop applications.

The SDK samples like this one below explain how to quickly make your application do override resolution in rendered image in VBScript and VB6 with the help of ByteScout PDF Renderer SDK. Follow the instruction from the scratch to work and copy and paste code for VBScript and VB6 into your editor. Test VBScript and VB6 sample code examples whether they respond your needs and requirements for the project.

Our website provides free trial version of ByteScout PDF Renderer SDK. It comes along with all these source code samples with the goal to help you with your VBScript and VB6 application implementation.

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

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

OverrideResolutionInRenderedImage.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" ' Set resolution of rendered images to 300DPI Set renderingOptions = CreateObject("Bytescout.PDFRenderer.RenderingOptions") renderingOptions.ResolutionOverride= 300 ' Iterate through pages For i = 0 To renderer.GetPageCount()-1 ' Generate 800x600 px PNG image renderer.Save_4 "image" & i & ".png", 2, i, 600, 800, (renderingOptions) 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