[PageCollection.Count property 获取文档中的页数。 public int Count { get; } 也可以看看 class PageCollection 命名空间 Aspose.Pdf 部件 Aspose.PDF]