Interface IEncodedSymbol
An encoded symbol: a grid of dark and light modules that a scanner reads, such as a QrMatrix (a square grid) or a Barcode (a single row of bars).
public interface IEncodedSymbol
- Extension Methods
Remarks
Every renderer works from this grid, so one renderer draws every kind of symbol. Coordinates start at the
top-left, with x running right and y running down. The grid does not include the quiet zone.
Properties
Height
Gets the number of module rows; 1 for a one-dimensional barcode, whose bars are stretched to any height.
int Height { get; }
Property Value
this[int, int]
Gets whether the module at a position is dark.
bool this[int x, int y] { get; }
Parameters
Property Value
QuietZone
Gets the light margin, in modules, the symbology needs around the symbol so scanners can find it. A one-dimensional barcode only needs it on the left and right.
int QuietZone { get; }
Property Value
Width
Gets the number of module columns.
int Width { get; }