接口 ITextRun
public interface ITextRun
Represents a range of characters in a
IRichText
object.-
方法概要
修饰符和类型方法说明void
delete()
getFont()
Gets the font settings of current text run.getText()
Gets the text of current text run.insertAfter
(String text) Inserts a newITextRun
after current text run.insertBefore
(String text) Inserts a newITextRun
before current text run.void
Sets text for current text run.
-
方法详细资料
-
getFont
IFont getFont()Gets the font settings of current text run. -
getText
String getText()Gets the text of current text run.- 返回:
-
setText
Sets text for current text run. -
delete
void delete() -
insertBefore
Inserts a newITextRun
before current text run.- 参数:
text
- the text of new inserted run.- 返回:
- a new created text run.
-
insertAfter
Inserts a newITextRun
after current text run.- 参数:
text
- the text of new inserted run.- 返回:
- a new created text run.
-