Skip to content

Run

Represents a piece of text with a single character format.

Capabilities

Text and Formatting

  • Run.CharacterFormat: Gets the character format. Change its properties to format the text, for example run.CharacterFormat.Bold = true.
  • Run.Text: Gets or sets the run text.

Properties

  • Run.Content: Gets the content range of the element, for example to replace text only inside this element.
  • Run.ElementType: Gets the element type name, such as 'Paragraph', 'Run' or 'Table'.

Methods