PhysicalTextSegment

PhysicalTextSegment

概述

PhysicalTextSegment 是 Aspose.PDF FOSS 中用于 .NET 的一个类。

被吸收的 TextSegment 的物理(页面空间)投影。

此类提供 1 个方法,用于在 .NET 程序中处理 PhysicalTextSegment 对象。可用的方法包括:MeasureSegment。在安装 Aspose.PDF FOSS for .NET 包后,所有公共成员均可供任何 .NET 应用程序访问。属性:TextState。

属性

名称类型访问描述
TextStateTextState读取段落的文本状态;其 TextXIndent 携带段落在页面上的起始 X。

方法

签名描述
MeasureSegment(from: int, to: int, includeTrailingSpaces: bool)测量段落文本中字符范围 [from..to](含)在页面上的空间前进量。

另请参阅

 中文