[PdfDevice.PageCount property 获取页数。 public override int PageCount { get; } 也可以看看 class PdfDevice 命名空间 Aspose.TeX.Presentation.Pdf 部件 Aspose.TeX]