CodeGlyphX logo
CodeGlyphX

API Reference

Class

HtmlQrRenderer

Namespace CodeGlyphX.Rendering.Html
Assembly CodeGlyphX
Modifiers static

Renders QR modules to HTML (table-based).

Inheritance

  • Object
  • HtmlQrRenderer

Methods

public static String Render(BitMatrix modules, QrHtmlRenderOptions opts) #
Returns: String

Renders the QR module matrix to an HTML table.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
opts CodeGlyphX.Rendering.Html.QrHtmlRenderOptions requiredposition: 1
RenderToFile 2 overloads
public static String RenderToFile(BitMatrix modules, QrHtmlRenderOptions opts, String path) #
Returns: String

Renders the QR module matrix to an HTML file.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
QR modules.
opts CodeGlyphX.Rendering.Html.QrHtmlRenderOptions requiredposition: 1
Rendering options.
path System.String requiredposition: 2
Output file path.

Returns

The output file path.

public static String RenderToFile(BitMatrix modules, QrHtmlRenderOptions opts, String directory, String fileName) #
Returns: String

Renders the QR module matrix to an HTML file under the specified directory.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
QR modules.
opts CodeGlyphX.Rendering.Html.QrHtmlRenderOptions requiredposition: 1
Rendering options.
directory System.String requiredposition: 2
Output directory.
fileName System.String requiredposition: 3
Output file name.

Returns

The output file path.

public static Void RenderToStream(BitMatrix modules, QrHtmlRenderOptions opts, Stream stream) #
Returns: Void

Renders the QR module matrix to an HTML stream.

Parameters

modules CodeGlyphX.BitMatrix requiredposition: 0
QR modules.
opts CodeGlyphX.Rendering.Html.QrHtmlRenderOptions requiredposition: 1
Rendering options.
stream System.IO.Stream requiredposition: 2
Target stream.