C# Class ZXing.Datamatrix.DataMatrixWriter

This object renders a Data Matrix code as a BitMatrix 2D array of greyscale values.
Inheritance: Writer
显示文件 Open project: Redth/ZXing.Net.Mobile

Public Methods

Method Description
encode ( String contents, BarcodeFormat format, int width, int height ) : BitMatrix
encode ( String contents, BarcodeFormat format, int width, int height, object>.IDictionary hints ) : BitMatrix

Private Methods

Method Description
convertByteMatrixToBitMatrix ( ByteMatrix matrix ) : BitMatrix

Convert the ByteMatrix to BitMatrix.

encodeLowLevel ( DefaultPlacement placement, SymbolInfo symbolInfo ) : BitMatrix

Encode the given symbol info to a bit matrix.

Method Details

encode() public method

public encode ( String contents, BarcodeFormat format, int width, int height ) : BitMatrix
contents String
format BarcodeFormat
width int
height int
return ZXing.Common.BitMatrix

encode() public method

public encode ( String contents, BarcodeFormat format, int width, int height, object>.IDictionary hints ) : BitMatrix
contents String
format BarcodeFormat
width int
height int
hints object>.IDictionary
return ZXing.Common.BitMatrix