Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 45
Forks 2
NuGet downloads 48,107
Release ChartForgeX-v1.7.0
Language: HTML Updated: 2026-09-02

API Reference

Class

TextStyle

Namespace ChartForgeX.Typography

Defines fully resolved text styling shared by charts, topology, visual blocks, canvases, and image composition.

Inheritance

  • Object
  • TextStyle

Usage

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

Accepted by parameters

Methods

Clone() #

Creates a copy that can be modified independently.

Create(System.Double arg1, ChartForgeX.Primitives.ChartColor arg2) #

Creates a text style using the supplied size and color.

Parameters

arg1 System.Double required
arg2 ChartForgeX.Primitives.ChartColor required

Properties

Font #

Gets or sets the font selection.

FontSize #

Gets or sets the font size in logical pixels.

Color #

Gets or sets the text color.

Alignment #

Gets or sets horizontal alignment inside the layout region.

LineHeight #

Gets or sets line height as a multiplier of the measured font height.

Underline #

Gets or sets a value indicating whether an underline should be rendered.