TextRun Class
Represents a run of text.
public sealed class TextRun : TextElement
Public NotInheritable Class TextRun
Inherits TextElement
- Inheritance:
- System.ObjectTextRun
Properties
ElementType
Gets the Run value.
public override TextElementType ElementType { get; }
Public Overrides ReadOnly Property ElementType As TextElementType
Property Value
The Run value.
Overrides
Text
Gets or sets the text.
Property Value
- System.String
The text.
Methods
ToString()
Returns a System.String that represents this TextRun instance.
Returns
- System.String
A System.String that represents this TextRun instance.
Overrides
Inherited Properties
Format | Gets or sets the character formatting options. (Inherited from TextElement) |
Parent | Gets the parent text paragraph or null if text element was deleted. (Inherited from TextElement) |
Slide | Gets the slide associated with this text element. (Inherited from TextElement) |
TextContent | Gets the text content of the current TextElement. (Inherited from TextElement) |