Class DataMatrixWriter
- Namespace
- ZXing.Datamatrix
- Assembly
- zxing.dll
This object renders a Data Matrix code as a BitMatrix 2D array of greyscale values.
public sealed class DataMatrixWriter : Writer
- Inheritance
-
DataMatrixWriter
- Implements
- Inherited Members
Constructors
DataMatrixWriter()
public DataMatrixWriter()
Methods
encode(string, BarcodeFormat, int, int)
encodes the content to a BitMatrix
public BitMatrix encode(string contents, BarcodeFormat format, int width, int height)
Parameters
contents
stringformat
BarcodeFormatwidth
intheight
int
Returns
encode(string, BarcodeFormat, int, int, IDictionary<EncodeHintType, object>)
encodes the content to a BitMatrix
public BitMatrix encode(string contents, BarcodeFormat format, int width, int height, IDictionary<EncodeHintType, object> hints)
Parameters
contents
stringformat
BarcodeFormatwidth
intheight
inthints
IDictionary<EncodeHintType, object>