TerminalRegionHtmlExtensions
Namespace: Hex1b.Automation
Assembly: Hex1b.dll
Extension methods for rendering terminal regions to interactive HTML format.
csharp
public static class TerminalRegionHtmlExtensionsInheritance
Object → TerminalRegionHtmlExtensions
Methods
ToHtml(Hex1bTerminalSnapshot, TerminalSvgOptions?)
Renders the terminal snapshot to an interactive HTML string with cell inspection.
Parameters:
snapshot(Hex1bTerminalSnapshot): The terminal snapshot to render.options(TerminalSvgOptions): Optional rendering options.
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:
region(IHex1bTerminalRegion): The terminal region to render.options(TerminalSvgOptions): Optional rendering options.
Returns: String
An HTML string with embedded SVG and JavaScript for cell inspection.
csharp
public static string ToHtml(this IHex1bTerminalRegion region, TerminalSvgOptions? options = null)