Package com.grapecity.documents.excel
Interface ITextRun
public interface ITextRun
Represents a range of characters in a
IRichText object.-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()getFont()Gets the font settings of current text run.getText()Gets the text of current text run.insertAfter(String text) Inserts a newITextRunafter current text run.insertBefore(String text) Inserts a newITextRunbefore current text run.voidSets text for current text run.
-
Method Details
-
getFont
IFont getFont()Gets the font settings of current text run. -
getText
String getText()Gets the text of current text run.- Returns:
- The text of the current text run.
-
setText
Sets text for current text run. -
delete
void delete() -
insertBefore
Inserts a newITextRunbefore current text run.- Parameters:
text- the text of new inserted run.- Returns:
- a new created text run.
-
insertAfter
Inserts a newITextRunafter current text run.- Parameters:
text- the text of new inserted run.- Returns:
- a new created text run.
-