Wiki Markup |
---|
{description} {excerpt}Creates and returns a [CharacterRun|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.{excerpt} {signature:C#} public virtual CharacterRun InsertTextAfter(System.String text, Font props) {signature}{signature:vb.net} Public Overridable Function InsertTextAfter(ByVal text As String, ByVal props As Font) As CharacterRun {signature} {parameters} {param:text}A {{String}} representing the text to insert.{param} {param:props}A [Font|Font] object representing the formatting that should override the font found in the style of the character run's enclosing paragraph.{param} {returns}The {{CharacterRun}} containing the inserted text.{returns} {example}{code:csharp|title=C#} CharacterRun charRun = e.InsertTextAfter("Here is some text.", fnt);{code} {code:vb.net|title=vb.net} Dim charRun As CharacterRun = e.InsertTextAfter("Here is some text.", fnt){code} {example} |
Page History
Overview
Content Tools