Every ByteScout tool contains example VBScript and VB6 source codes that you can find here or in the folder with installed ByteScout product. Override resolution in multipage TIFF in VBScript and VB6 can be implemented with ByteScout PDF Renderer SDK. ByteScout PDF Renderer SDK is the SDK for rendering of PDF into thumbnails and images in high quality. Provides various functions like batch processing, PNG, TIFF output. Can be used from web and desktop applications.
This rich sample source code in VBScript and VB6 for ByteScout PDF Renderer SDK includes the number of functions and options you should do calling the API to implement override resolution in multipage TIFF. VBScript and VB6 sample code is all you need: copy and paste the code to your VBScript and VB6 application’s code editor, add a reference to ByteScout PDF Renderer SDK (if you haven’t added yet) and you are ready to go! Code testing will allow the function to be tested and work properly with your data.
Trial version can be downloaded from our website. Source code samples for VBScript and VB6 and documentation are included.
' 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 ' Generate 800x600 px multipage TIFF renderer.SaveMultipageTiff_4 "result.tif", 0, -1, 600, 800, (renderingOptions)