API Reference
Class
MatrixEpsRenderer
Renders generic 2D matrices to an EPS image.
Inheritance
- Object
- MatrixEpsRenderer
Methods
public static String Render(BitMatrix modules, MatrixPngRenderOptions opts, RenderMode mode = Vector) #Returns:
StringRenders the matrix to an EPS string.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- mode CodeGlyphX.Rendering.RenderMode = Vector
RenderToFile 2 overloads
public static String RenderToFile(BitMatrix modules, MatrixPngRenderOptions opts, String path, RenderMode mode = Vector) #Returns:
StringRenders the matrix to an EPS file.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- path System.String
- mode CodeGlyphX.Rendering.RenderMode = Vector
public static String RenderToFile(BitMatrix modules, MatrixPngRenderOptions opts, String directory, String fileName, RenderMode mode = Vector) #Returns:
StringRenders the matrix to an EPS file under the specified directory.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- directory System.String
- fileName System.String
- mode CodeGlyphX.Rendering.RenderMode = Vector
public static Void RenderToStream(BitMatrix modules, MatrixPngRenderOptions opts, Stream stream, RenderMode mode = Vector) #Returns:
VoidRenders the matrix to an EPS stream.
Parameters
- modules CodeGlyphX.BitMatrix
- opts CodeGlyphX.Rendering.Png.MatrixPngRenderOptions
- stream System.IO.Stream
- mode CodeGlyphX.Rendering.RenderMode = Vector