PdfFile.PageCount Property Gets the number of pages. C#public int PageCount { get; } Property Value Int32 The number of pages in the PDF file.