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

Class

VisualStorySourceOptions

Namespace ChartForgeX.Stories
Assembly ChartForgeX.Stories
Modifiers sealed

Readable editor viewport settings. The document scrolls instead of shrinking below the chosen font size.

Inheritance

  • Object
  • VisualStorySourceOptions

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 VisualStorySourceOptions(String? fileName = null, Double fontSize = 18, Boolean wrap = true, Boolean lineNumbers = true, Int32 highlightedLine = 0) #

Creates editor settings with optional filename and a one-based highlighted line.

Parameters

fileName System.String? = null optionalposition: 0
fontSize System.Double = 18 optionalposition: 1
wrap System.Boolean = true optionalposition: 2
lineNumbers System.Boolean = true optionalposition: 3
highlightedLine System.Int32 = 0 optionalposition: 4

Properties

public String FileName { get; } #

Gets the optional filename displayed in editor chrome.

public Double FontSize { get; } #

Gets the fixed readable font size in logical units.

public Boolean Wrap { get; } #

Gets whether long lines wrap within the viewport.

public Boolean LineNumbers { get; } #

Gets whether source line numbers are shown.

public Int32 HighlightedLine { get; } #

Gets a one-based highlighted source line, or zero for the caret line.