Sample source code below will display you how to manage a complex task like rotate pdf document with pdf extractor sdk in VBScript. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording. It can be applied to rotate pdf document with pdf extractor sdk using VBScript.
Want to save time? You will save a lot of time on writing and testing code as you may just take the VBScript code from ByteScout Premium Suite for rotate pdf document with pdf extractor sdk below and use it in your application. IF you want to implement the functionality, just copy and paste this code for VBScript below into your code editor with your app, compile and run your application. Want to see how it works with your data then code testing will allow the function to be tested and work properly.
All these programming tutorials along with source code samples and ByteScout free trial version are available for download from our website.
' Create Bytescout.PDFExtractor.DocumentRotator object Set rotator = CreateObject("Bytescout.PDFExtractor.DocumentRotator") rotator.RegistrationName = "demo" rotator.RegistrationKey = "demo" rotator.Rotate "..\..\sample1.pdf", "result.pdf", 0 ' 0 - rotate 90 deg, 1 - rotate 180 deg, 2 - rotate 270 deg Set rotator = Nothing WScript.Echo "Rotated document saved as 'result.pdf' file."