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