[FormattedText.TextWidth property 获取文本的宽度。 public float TextWidth { get; } 也可以看看 class FormattedText 命名空间 Aspose.Pdf.Facades 部件 Aspose.PDF]