API Reference
Class
QrSvgzRenderer
Renders QR modules to SVGZ.
Inheritance
- Object
- QrSvgzRenderer
Methods
public static Byte[] Render(BitMatrix modules, QrSvgRenderOptions opts) #Returns:
Byte[]Renders the QR module matrix to SVGZ bytes.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Svg.QrSvgRenderOptions
RenderToFile 2 overloads
public static String RenderToFile(BitMatrix modules, QrSvgRenderOptions opts, String path) #Returns:
StringRenders the QR module matrix to an SVGZ file.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Svg.QrSvgRenderOptions
- path System.String
public static String RenderToFile(BitMatrix modules, QrSvgRenderOptions opts, String directory, String fileName) #Returns:
StringRenders the QR module matrix to an SVGZ file under the specified directory.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Svg.QrSvgRenderOptions
- directory System.String
- fileName System.String
public static Void RenderToStream(BitMatrix modules, QrSvgRenderOptions opts, Stream stream) #Returns:
VoidRenders the QR module matrix to an SVGZ stream.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Svg.QrSvgRenderOptions
- stream System.IO.Stream