Description |
---|
Excerpt |
---|
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 the character run's enclosing paragraph. |
Signature | C# | C# |
---|---|---|
Wiki Markup | ||
{description}
{excerpt}Creates and returns a [CharacterRun|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 the character run's enclosing paragraph.{excerpt}
{signature:C#}
public virtual CharacterRun InsertTextBefore(System.String text, Font props)
| ||
Signature | ||
{signature}{signature:vb.net | vb.net | }
Public Overridable Function InsertTextBefore(ByVal text As String, ByVal props As Font) As CharacterRun
|
Parameters |
---|
...
A String
representing the text to insert.
...
A Font object representing the font that should override the font found in the style of the character run's enclosing paragraph.
Returns |
---|
The |
Example | |||
---|---|---|---|
Code Block | | csharp | csharp |
title | C# | ||
Code Block | vb.net | title |