Description
Creates and returns a CharacterRun at the end of this Element. The text to be inserted is specified as well as the font that should override the font found in the style of the character run's enclosing paragraph.
C#
public virtual CharacterRun InsertTextAfter(System.String text, Font props)
vb.net
Public Overridable Function InsertTextAfter(ByVal text As String, ByVal props As Font) As CharacterRun
Parameters
text
AString representing the text to insert.
props
A Font object representing the formatting that should override the font found in the style of the character run's enclosing paragraph.Returns
TheCharacterRun containing the inserted text.
Examples
C#
CharacterRun charRun = e.InsertTextAfter("Here is some text.", fnt);vb.net
Dim charRun As CharacterRun = e.InsertTextAfter("Here is some text.", fnt)
