|
Delete specific Page of PDF file.
bool DeletePage( string strSourceFile , int iPageNo , )
|
Parameter strSourceFile the path of source pdf file.
iPageNo Specifies the page to deleted. The first page is 0.
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.DeletePage(stroutpath, iPageNumber - 1);
|
|
|