Class MatrixCode
Represents the base class of all 2D codes.
public abstract class MatrixCode : CodeBase
- Inheritance
-
MatrixCode
- Derived
- Inherited Members
Constructors
MatrixCode(string, string, int, int, XSize)
Initializes a new instance of the MatrixCode class.
public MatrixCode(string text, string encoding, int rows, int columns, XSize size)
Parameters
Properties
Columns
Gets or sets the number of columns.
public int Columns { get; set; }
Property Value
Encoding
Gets or sets the encoding.
public string Encoding { get; set; }
Property Value
Rows
Gets or sets the number of rows.
public int Rows { get; set; }
Property Value
Text
Gets or sets the text.
public string Text { get; set; }
Property Value
Methods
CheckCode(string)
Determines whether the specified string can be used as Text for this matrix code type.
protected override void CheckCode(string text)
Parameters
text
string
Render(XGraphics, XBrush, XPoint)
When implemented in a derived class renders the 2D code.
protected abstract void Render(XGraphics gfx, XBrush brush, XPoint center)