|
Rotating all pages to 90,180,270 degrees.
bool RotateAllPage( string strSourceFile , string strOutputFile , int iRotateAngle )
|
Parameter strSourceFile the path of source pdf file.
strOutputFile the path of output file.
iRotateAngle Specifies the rotating degrees, the value is 0, 90, 180, 270.
Return Value Return true - successful Return false - failed
Example
|
C# Syntax using PDFProcessingWrapper;
PDFProcessing obj = new PDFProcessing(); string stroutpath = HttpContext.Current.Server.MapPath("~/output/" + myUniqueFileName); string strinputpath1 = HttpContext.Current.Server.MapPath("~/uploads/" + strInputPDFFile1); string strinputpath2 = HttpContext.Current.Server.MapPath("~/uploads/" + strInputPDFFile2); bool bResult = obj.RotateAllPage(strinputpath1, stroutpath, iRotation);
|
|
|