PDF Rotate Pages COM Component is for ASP, .NET, PHP, Cold Fusion, VB, VC and other languages.
PDF Rotate Pages software automates the process of rotating the view of individual or ranges of pdf pages to a degree angle of either: 0, 90, 180, 270
PDF Rotate Pages supports options for: all, odd or even pages or you can specify a list of pages to process.
Example .asp, vb, .net, php, cold fusion & vc++ code included
simple ASP example of usage:- (by default it put's page numbers on the pdf file)
Set obj = Server.CreateObject("PDFRotatePages.PDFRotatePagesCom.1") obj.type = 3 ' 2 = all, 3 = odd, 4 = even, 1 = use rotate pages string list obj.rotateAngle = 180 ' can be 0, 90, 180 or 270 obj.rotatePages = "1,4-6" ' for a list e.g. 1,4-6 result = CStr(obj.getPDFRotatePagesFile("c:\\input.pdf", "c:\\output.pdf", ""))
simple VC++ example of usage:-
PDFRotatePagesLib::IPDFRotatePagesComPtr *test = NULL; struct __declspec(uuid("{34D24184-7D5E-43B1-8A0C-2146D223C1FF}")) IClass; test = new PDFRotatePagesLib::IPDFRotatePagesComPtr( __uuidof(IClass) ); (*test)->type = 3; // 2 = all, 3 = odd, 4 = even, 1 = use rotate pages string list (*test)->rotateAngle = 180; // can be 0, 90, 180 or 270 (*test)->rotatePages = (_bstr_t)_T("1,4-6"); // for a list e.g. 1,4-6 (*test)->getPDFRotatePagesFile((char *)(_bstr_t)"c:\\input.pdf",(char *)(_bstr_t)"c:\\output.pdf",(char *)(_bstr_t)"");
simple VB example of usage:-
Dim obj As PDFRotatePagesLib.PDFRotatePagesCom Set obj = New PDFRotatePagesLib.PDFRotatePagesCom obj.type = 3 ' 2 = all, 3 = odd, 4 = even, 1 = use rotate pages string list obj.rotateAngle = 180 ' can be 0, 90, 180 or 270 obj.rotatePages = "1,4-6" ' for a list e.g. 1,4-6 obj.GetPDFRotatePagesFile("C:\input.pdf","C:\output.pdf","")
simple ASP .NET using C# example of usage:-
PDFRotatePages.PDFRotatePagesCom obj = new PDFRotatePages.PDFRotatePagesCom(); obj.type = 3; // 2 = all, 3 = odd, 4 = even, 1 = use rotate pages string list obj.rotateAngle = 180; // can be 0, 90, 180 or 270 obj.rotatePages = "1,4-6"; // for a list e.g. 1,4-6 obj.getPDFRotatePagesFile("C:\input.pdf","C:\output.pdf","");
Main Features 1. Supports Windows 95, 98, ME, NT4, 2000, XP, Vista, 2003, 2008, Windows 7 2. Automates the process Rotating multiple PDF files. 3. options for: all, odd or even pages or you can specify a list of pages to process. 4. Batch list processing 5. Doesn't require Acrobat 6. Full HTML Help.