This prolific sample source code in VBScript for ByteScout PDF Suite contains various functions and other necessary options you should do calling the API to rotate pdf document with pdf extractor sdk. Simply copy and paste in your VBScript project or application you and then run your app! If you want to use these VBScript sample examples in one or many applications then they can be used easily.
Our website gives trial version of ByteScout PDF Suite for free. It also includes documentation and source code samples.
' 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."