Class
TextContent
ChartForgeX.Typography
Immutable native caption content. Plain semantic text is derived from its runs, never authored independently.
Inheritance
- object
- TextContent
Usage
Explore 17 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 15
- Property TopologyEdge.LabelContent
- Property TopologyGroup.LabelContent
- Property TopologyNode.LabelContent
- Property TopologyNodeDetail.Content
- Property TopologyNodeDetail.ValueContent
- Method TextContent.FromRuns
- Method TextContent.Plain
- Property TextLayoutLine.Content
- Property TableArtifactCell.Content
- Property VisualArtifactInterchangeDetail.Content
- Property VisualArtifactInterchangeDetail.ValueContent
- Property VisualArtifactInterchangeTableCell.Content
- Property VisualArtifactInterchangeTopologyEdge.LabelContent
- Property VisualArtifactInterchangeTopologyGroup.LabelContent
- Property VisualArtifactInterchangeTopologyNode.LabelContent
Accepted by parameters 2
- Method TextLayoutEngine.Layout
- Method TextLayoutEngine.Measure
Methods
public static TextContent FromRuns(IEnumerable<TextContentRun> runs) #Creates explicitly structured content from detached immutable runs.
Parameters
- runs System.Collections.Generic.IEnumerable<ChartForgeX.Typography.TextContentRun>
Returns
TextContentpublic static TextContent Plain(string text) #Creates ordinary plain content, preserving the incumbent native string rendering path.
Parameters
- text string
Returns
TextContentInherited Methods
Properties
public IReadOnlyList<TextContentRun> Runs { get; } #Gets the immutable run sequence. Adjacent equal emphasis is canonicalized without changing text.
public string PlainText { get; } #Gets the complete semantic text derived from Runs.
public bool IsStructured { get; } #Gets whether the caller deliberately supplied inline content rather than an ordinary plain string.