Skip to content
ChartForgeX
Struct

TextContentRun

ChartForgeX.Typography

Namespace
ChartForgeX.Typography
Assembly
ChartForgeX
Base
ValueType
Modifiers
sealed

One immutable span of literal text and safe inline emphasis; it never contains executable markup.

Inheritance

  • ValueType
  • TextContentRun

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 1

Constructors

public TextContentRun(string text, TextInlineEmphasis emphasis = Normal) #

Creates an immutable literal run.

Parameters

text string required
emphasis ChartForgeX.Typography.TextInlineEmphasis = Normal optional

Properties

public string Text { get; } #

Gets literal text, including any authored line breaks.

public TextInlineEmphasis Emphasis { get; } #

Gets safe native inline emphasis.