跳到主要内容

ApiRichContent

表示 ApiRichContent 类。

方法

方法返回值描述
AddElementboolean使用其在富文本内容中的位置添加富文本段落。
GetClassType"richContent"返回 ApiRichContent 类的类型。
GetContentApiRichParagraph[]返回当前富文本内容对象中的富文本段落数组。
GetCurrentParagraphApiRichParagraph返回光标所在的当前段落。
GetCurrentRunApiRichRun返回光标所在的当前文本域。
GetElementApiRichParagraph根据其在内容中的位置返回富文本段落。
Pushboolean将富文本段落推送到富文本内容。