API Reference
Class
MatrixPamRenderer
Renders matrix modules to PAM (P7).
Inheritance
- Object
- MatrixPamRenderer
Methods
public static Byte[] Render(BitMatrix modules, MatrixPngRenderOptions opts) #Returns:
Byte[]Renders the module matrix to a PAM byte array.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
RenderToFile 2 overloads
public static String RenderToFile(BitMatrix modules, MatrixPngRenderOptions opts, String path) #Returns:
StringRenders the module matrix to a PAM file.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- path System.String
public static String RenderToFile(BitMatrix modules, MatrixPngRenderOptions opts, String directory, String fileName) #Returns:
StringRenders the module matrix to a PAM file under the specified directory.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- directory System.String
- fileName System.String
public static Void RenderToStream(BitMatrix modules, MatrixPngRenderOptions opts, Stream stream) #Returns:
VoidRenders the module matrix to a PAM stream.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- stream System.IO.Stream