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

Element.InsertTextBefore(String, Font)

Descri= ption

=20

Creates and returns a CharacterRun= at the beginning 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 th= e character run's enclosing paragraph.

=20
C#
=20
 public virtual CharacterRun InsertTextBefore(System.String text, Font prop=
s)
=20
=20
vb.net
=20
Public Overridable Function InsertTextBefore(ByVal text As String, ByVal pr=
ops As Font) As CharacterRun
=20
=20

Parameters

= =20
text
A=20 String representing the text to insert.=20
props
A=20 Font object representing= the font that should override the font found in the style of the character= run's enclosing paragraph.=20

Returns

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

Examples

=20
C#
=20
CharacterRun charRun =3D e.InsertTextBefore("Here is some text.",=
 fnt);
=20
=20
vb.net
=20
Dim charRun As CharacterRun =3D e.InsertTextBefore("Here is some text.=
", fnt)
=20
------=_Part_9618_1423307185.1711696795837--