Message-ID: <894717637.9045.1711673962439.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_9044_545389119.1711673962439" ------=_Part_9044_545389119.1711673962439 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Element.InsertTextAfter(String, Boolean)

Element.InsertTextAfter(String, Boolean)

Desc= ription

=20

Creates and returns a CharacterRun= at the end of this Element. The text to be inserted is specified as we= ll as whether this should be a new character run or part of the previous on= e.

=20
C#
=20
 public virtual CharacterRun InsertTextAfter(System.String text, boolean ne=
wRun)
=20
=20
vb.net
=20
Public Overridable Function InsertTextAfter(ByVal text As String, ByVal new=
Run As Boolean) As CharacterRun
=20
=20

Parameters=20

text
A=20 String representing the text to insert.=20
newRun
A=20 boolean representing if this should have default formatting an= d become its own character run (true) or if it should assume the formatting= of the first character in this Element, becoming a part of that first char= acter run.=20

Returns

The= =20 CharacterRun containing the inserted text.=20

Examples

= =20
C#
=20
CharacterRun charRun =3D e.InsertTextAfter("Here is some text.", =
true);
=20
=20
vb.net
=20
Dim charRun As CharacterRun =3D e.InsertTextAfter("Here is some text.&=
quot;, True)
=20
------=_Part_9044_545389119.1711673962439--