Class CodeDataMatrix
A Data Matrix ECC 200 code (ISO/IEC 16022), drawn as vector shapes.
public class CodeDataMatrix : MatrixCode
- Inheritance
-
objectCodeDataMatrix
- Inherited Members
Remarks
Rows and columns give the symbol size, for example 26 x 26 or 12 x 36; 0 x 0 picks the smallest square size the text fits in. Size includes the QuietZone, in modules.
Text is written in ASCII encodation (two digits per codeword; text that is not ASCII as UTF-8 marked with ECI 26), or in Base256 where the encoding asks for it. C40, Text, X12 and EDIFACT requests are written in ASCII encodation, which every reader decodes the same way. Fnc1 writes FNC1, as GS1 DataMatrix needs first.
Constructors
- CodeDataMatrix()
Initializes a new instance of CodeDataMatrix.
- CodeDataMatrix(string, DataMatrixEncoding, int, XSize)
Initializes a new instance of CodeDataMatrix.
- CodeDataMatrix(string, DataMatrixEncoding, int, int, XSize)
Initializes a new instance of CodeDataMatrix.
- CodeDataMatrix(string, int)
Initializes a new instance of CodeDataMatrix.
- CodeDataMatrix(string, int, XSize)
Initializes a new instance of CodeDataMatrix.
- CodeDataMatrix(string, int, int)
Initializes a new instance of CodeDataMatrix.
- CodeDataMatrix(string, int, int, XSize)
Initializes a new instance of CodeDataMatrix.
- CodeDataMatrix(string, int, int, int)
Initializes a new instance of CodeDataMatrix.
- CodeDataMatrix(string, string, int, int, int, XSize)
Initializes a new instance of CodeDataMatrix.
Properties
- QuietZone
Gets or sets the size of the Matrix¹ Quiet Zone.
Methods
- CheckCode(string)
Determines whether the specified string can be used as data in the DataMatrix.
- GetModules()
Encodes the text and returns the symbol's modules, finder and clock patterns included, without the quiet zone, indexed [row, column], true for dark.
- Render(XGraphics, XBrush, XPoint)
Renders the matrix code: the dark modules of each row, merged into runs, as one filled path. With a quiet zone, the whole size is painted white first, as before.
- SetEncoding(DataMatrixEncoding)
Sets the encoding of the DataMatrix.