Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Description

Creates and returns a CharacterRun at the point represented by this Position. The text to be inserted is specified as well as whether this should be a new character run or part of the previous one.

C#
vb.net

Parameters

text
A String representing the text to insert.
newRun
A boolean representing if this should have default formatting and 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 character run.

Returns

The CharacterRun containing the inserted text.

Examples

C#
vb.net
  • No labels