Interface ITextRun
public interface ITextRun
Represents a range of characters in a
IRichText
object.
-
Method Summary
void
Gets the font settings of current text run.
Gets the text of current text run.
Inserts a new
ITextRun
after current text run.
Inserts a new
ITextRun
before current text run.
void
Sets text for current text run.
-
Method Details
-
getFont
Gets the font settings of current text run.
-
getText
Gets the text of current text run.
- Returns:
- The text of the current text run.
-
setText
Sets text for current text run.
-
-
insertBefore
Inserts a new
ITextRun
before current text run.
- Parameters:
text
- the text of new inserted run.
- Returns:
- a new created text run.
-
insertAfter
Inserts a new
ITextRun
after current text run.
- Parameters:
text
- the text of new inserted run.
- Returns:
- a new created text run.