[PageCollection.Count property Gets count of pages in the document. public int Count { get; } See Also class PageCollection namespace Aspose.Pdf assembly Aspose.PDF]