Project

ChartForgeX

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

Stars 47
Forks 2
NuGet downloads 75,067
Release ChartForgeX-v2.0.0
Language: HTML Updated: 2026-10-12

API Reference

Enum

VisualCanvasTextFitPolicy

Namespace ChartForgeX.Composition
Assembly ChartForgeX.Visuals
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Controls how information tile text is fitted when the tile is narrow or short.

Inheritance

  • Enum
  • VisualCanvasTextFitPolicy

Usage

Explore 8 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.

Accepted by parameters 2

Values

public const VisualCanvasTextFitPolicy Auto #

Use the balanced default: wrap when possible and shrink slightly before truncating.

Value: 0
public const VisualCanvasTextFitPolicy SingleLineEllipsis #

Keep each tile text role on one line and trim with an ellipsis when needed.

Value: 1
public const VisualCanvasTextFitPolicy Wrap #

Wrap text across the available tile lines and trim only the final overflowing line.

Value: 2
public const VisualCanvasTextFitPolicy ShrinkToFit #

Prefer one-line text and reduce font sizes before trimming with an ellipsis.

Value: 3
public const VisualCanvasTextFitPolicy WrapThenShrink #

Wrap text first, then reduce font sizes if the tile still cannot contain the text.

Value: 4