API Reference
Class
HtmlQrRenderer
Renders QR modules to HTML (table-based).
Inheritance
- Object
- HtmlQrRenderer
Methods
public static String Render(BitMatrix modules, QrHtmlRenderOptions opts) #Returns:
StringRenders the QR module matrix to an HTML table.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Html.QrHtmlRenderOptions
RenderToFile 2 overloads
public static String RenderToFile(BitMatrix modules, QrHtmlRenderOptions opts, String path) #Returns:
StringRenders the QR module matrix to an HTML file.
Parameters
- modules CodeGlyphX.BitMatrix
- QR modules.
- opts CodeGlyphX.Rendering.Html.QrHtmlRenderOptions
- Rendering options.
- path System.String
- Output file path.
Returns
The output file path.
public static String RenderToFile(BitMatrix modules, QrHtmlRenderOptions opts, String directory, String fileName) #Returns:
StringRenders the QR module matrix to an HTML file under the specified directory.
Parameters
- modules CodeGlyphX.BitMatrix
- QR modules.
- opts CodeGlyphX.Rendering.Html.QrHtmlRenderOptions
- Rendering options.
- directory System.String
- Output directory.
- fileName System.String
- Output file name.
Returns
The output file path.
public static Void RenderToStream(BitMatrix modules, QrHtmlRenderOptions opts, Stream stream) #Returns:
VoidRenders the QR module matrix to an HTML stream.
Parameters
- modules CodeGlyphX.BitMatrix
- QR modules.
- opts CodeGlyphX.Rendering.Html.QrHtmlRenderOptions
- Rendering options.
- stream System.IO.Stream
- Target stream.