API Reference
Class
QrXpmRenderer
Renders QR modules to XPM.
Inheritance
- Object
- QrXpmRenderer
Methods
public static String Render(BitMatrix modules, QrPngRenderOptions opts, String name = null) #Returns:
StringRenders the QR module matrix to an XPM string.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.QrPngRenderOptions
- name System.String = null
RenderToFile 2 overloads
public static String RenderToFile(BitMatrix modules, QrPngRenderOptions opts, String path, String name = null) #Returns:
StringRenders the QR module matrix to an XPM file.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.QrPngRenderOptions
- path System.String
- name System.String = null
public static String RenderToFile(BitMatrix modules, QrPngRenderOptions opts, String directory, String fileName, String name = null) #Returns:
StringRenders the QR module matrix to an XPM file under the specified directory.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.QrPngRenderOptions
- directory System.String
- fileName System.String
- name System.String = null
public static Void RenderToStream(BitMatrix modules, QrPngRenderOptions opts, Stream stream, String name = null) #Returns:
VoidRenders the QR module matrix to an XPM stream.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.QrPngRenderOptions
- stream System.IO.Stream
- name System.String = null