ASP.NET PDF Processing SDK Component ReferenceMethods GetPageCount ASP.NET PDF Processing SDK Component GetPageCount Add the user password to existing PDF File. int GetPageCount( string strSourceFile ) ParameterstrSourceFilethe path of source pdf file.Return ValueReturn the total count of page.Example C# Syntaxusing PDFProcessingWrapper; PDFProcessing obj = new PDFProcessing();string strinputpath1 = HttpContext.Current.Server.MapPath("~/uploads/" + strInputPDFFile1);int iPageCount = obj.GetPageCount(strinputpath1);