Doc PageCount Property. The number of pages in the document. ABCpdf .NET PDF Library. From ABCpdf .net previous page next page PageCount Property Type Default Value Read Only Description [C#] int [Visual Basic] Integer 0 Yes The number of pages in the document. Notes This property holds the number of pages in the document. You can add pages to the document using the AddPage method. Example None. previous page start next page