Skip to content
ChartForgeX

API Reference

Class

HtmlVisualBlockRenderer

Namespace ChartForgeX.VisualBlocks
Assembly ChartForgeX
Modifiers sealed

Renders visual blocks as dependency-free static HTML.

Inheritance

  • Object
  • HtmlVisualBlockRenderer

Constructors

public HtmlVisualBlockRenderer() #

Methods

RenderFragment 2 overloads
public String RenderFragment(IVisualBlock block) #
Returns: String

Renders a visual block as an embeddable HTML fragment.

Parameters

block ChartForgeX.VisualBlocks.IVisualBlock requiredposition: 0
public String RenderFragment(IVisualBlock block, String idScope) #
Returns: String

Renders a visual block fragment with a caller-provided deterministic ID scope.

Parameters

block ChartForgeX.VisualBlocks.IVisualBlock requiredposition: 0
The visual block to render.
idScope System.String requiredposition: 1
A stable scope used to keep IDs unique when embedding equivalent fragments together.

Returns

An HTML fragment containing inline SVG.

public String RenderPage(IVisualBlock block) #
Returns: String

Renders a visual block as a complete HTML document.

Parameters

block ChartForgeX.VisualBlocks.IVisualBlock requiredposition: 0