|
Rotating specific page to 90,180,270 degrees.
bool Rotate( string strSourceFile , string strOutputFile , int iPageNo , int iRotateAngle )
|
Parameter strSourceFile the path of source pdf file.
strOutputFile the path of output file.
iPageNo Specifies the page to rotating. The first page is 0.
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.Rotate(strinputpath1, stroutpath, iPageNumber - 1, iRotation);
|
|
|