[]
表示IShape 中的文本框。
public interface ITextRange : IEnumerable
| Name | Description |
|---|---|
| Count | 返回集合中的对象数量(只读)。 |
| Font | 返回代表IFontFormat 对象字符格式的IFontFormat 对象(只读)。 |
| Index | 返回集合中的索引(只读)。 |
| this[int] | 获取指定索引的ITextRange 。 |
| Paragraphs | 获取ITextRange 的段落 |
| Runs | 获取ITextRange 的运行项。 |
| Text | 获取或设置一个代表文本范围内文本的字符串值(可读写)。 |
| TextAlignment | 获取或设置文本的水平对齐方式。 |
| Type | 返回ITextRange 的类型,例如TextRangeType .Body、TextRangeType .Paragrapsh 或 TextRangeType .Run。 |
| Name | Description |
|---|---|
| Add(string, int) | 将文本添加到指定的集合中。 |
| Delete() | 从父级中删除。 |