The below SDK samples describe how to quickly make your application do override resolution in rendered image with pdf renderer sdk in VBScript with the help of ByteScout PDF Suite. To use override resolution in rendered image with pdf renderer sdk in your VBScript project or application just copy & paste the code and then run your app! This basic programming language sample code for VBScript will do the whole work for you in implementing override resolution in rendered image with pdf renderer sdk in your app.
Our website gives free trial version of ByteScout PDF Suite. It includes all these source code samples with the purpose to assist you with your VBScript application implementation.
' 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