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

FontSpec

Namespace ChartForgeX.Typography

Identifies a font without depending on a platform drawing framework.

Inheritance

  • Object
  • FontSpec

Methods

Clone() #

Creates a copy that can be modified independently.

FromFamily(System.String arg1) #

Creates a font specification for a family or fallback stack.

Parameters

arg1 System.String required
FromFile(System.String arg1, System.Nullable{System.Int32} arg2, System.String arg3) #

Creates a font specification backed by a TrueType font file.

Parameters

arg1 System.String required
arg2 System.Nullable{System.Int32} required
arg3 System.String required
SystemSans() #

Creates a system sans-serif font specification.

Properties

Family #

Gets or sets the CSS-compatible family or fallback stack.

FilePath #

Gets or sets an optional TrueType or TrueType collection path used by raster output.

CollectionIndex #

Gets or sets an optional TrueType collection face index.

FaceName #

Gets or sets an optional face name used when selecting a collection member.

Weight #

Gets or sets the numeric font weight from 100 through 900.

Italic #

Gets or sets a value indicating whether an italic face is preferred.