TextFrame
内容
[
隐藏
]TextFrame 类
Represents a TextFrame.
public sealed class TextFrame : ITextFrame
属性
| 名称 | 描述 |
|---|---|
| HyperlinkQueries { get; } | 提供对包含的超链接的便捷访问。只读 IHyperlinkQueries。 |
| Paragraphs { get; } | 返回帧中所有段落的列表。只读 IParagraphCollection。 |
| ParentCell { get; } | 返回父单元格,如果父对象未实现 ICell 接口则返回 null。只读 ICell。 |
| ParentShape { get; } | 返回父形状,如果父对象未实现 IShape 接口则返回 null。只读 IShape。 |
| Presentation { get; } | 返回 TextFrame 的父演示文稿。只读 IPresentation。 |
| Slide { get; } | 返回 TextFrame 的父幻灯片。只读 IBaseSlide。 |
| Text { get; set; } | 获取或设置 TextFrame 的纯文本。读/写 String。 |
| TextFrameFormat { get; } | 返回此 TextFrame 对象的格式化对象。只读 ITextFrameFormat。 |
方法
| 名称 | 描述 |
|---|---|
| HighlightRegex(Regex, Color, IFindResultCallback) | 使用指定颜色突出显示正则表达式的所有匹配项。 |
| HighlightText(string, Color) | 使用指定颜色突出显示示例文本的所有匹配项。 |
| HighlightText(string, Color, ITextSearchOptions, IFindResultCallback) | 使用指定颜色突出显示示例文本的所有匹配项。 |
| JoinPortionsWithSameFormatting() | 合并所有段落中具有相同格式的运行。 |
| ReplaceRegex(Regex, string, IFindResultCallback) | 使用指定字符串替换正则表达式的所有匹配项。 |
| ReplaceText(string, string, ITextSearchOptions, IFindResultCallback) | 将指定文本的所有出现替换为另一个指定文本。 |
| SplitTextByColumns() | 将 ITextFrame 的文本内容拆分为字符串数组,每个元素对应框内的单独文本列。 |
另请参见
- 接口 ITextFrame
- 命名空间 Aspose.Slides
- 程序集 Aspose.Slides