Skip to content

TerminalRegionHtmlExtensions ​

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

Extension methods for rendering terminal regions to interactive HTML format.

csharp
public static class TerminalRegionHtmlExtensions

Inheritance ​

Object → TerminalRegionHtmlExtensions

Methods ​

ToHtml(Hex1bTerminalSnapshot, TerminalSvgOptions?) ​

Renders the terminal snapshot to an interactive HTML string with cell inspection.

Parameters:

Returns: String

An HTML string with embedded SVG and JavaScript for cell inspection.

csharp
public static string ToHtml(this Hex1bTerminalSnapshot snapshot, TerminalSvgOptions? options = null)

ToHtml(IHex1bTerminalRegion, TerminalSvgOptions?) ​

Renders the terminal region to an interactive HTML string with cell inspection.

Parameters:

Returns: String

An HTML string with embedded SVG and JavaScript for cell inspection.

csharp
public static string ToHtml(this IHex1bTerminalRegion region, TerminalSvgOptions? options = null)

Released under the MIT License.