Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

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.

Signature
C#
C#
 public virtual CharacterRun InsertTextAfter(System.String text, Font props)
Signature
vb.net
vb.net
Public Overridable Function InsertTextAfter(ByVal text As String, ByVal props As Font) As CharacterRun
Parameters
Param
text
text

A String representing the text to insert.

Param
props
props

A Font object representing the formatting that should override the font found in the style of the character run's enclosing paragraph.

Returns

The CharacterRun containing the inserted text.

Example
Code Block
csharp
csharp
titleC#
CharacterRun charRun = e.InsertTextAfter("Here is some text.", fnt);
Code Block
vb.net
vb.net
titlevb.net
Dim charRun As CharacterRun = e.InsertTextAfter("Here is some text.", fnt)