C# Class ZXing.Aztec.AztecWriter

Renders an Aztec code as a BitMatrix
Inheritance: Writer
显示文件 Open project: Redth/ZXing.Net.Mobile

Public Methods

Method Description
encode ( String contents, BarcodeFormat format, int width, int height ) : BitMatrix

Encode a barcode using the default settings.

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

Private Methods

Method Description
AztecWriter ( ) : System
encode ( String contents, BarcodeFormat format, int width, int height, Encoding charset, int eccPercent, int layers ) : BitMatrix
renderResult ( ZXing.Aztec.Internal.AztecCode code, int width, int height ) : BitMatrix

Method Details

encode() public method

Encode a barcode using the default settings.
public encode ( String contents, BarcodeFormat format, int width, int height ) : BitMatrix
contents String The contents to encode in the barcode
format BarcodeFormat The barcode format to generate
width int The preferred width in pixels
height int The preferred height in pixels
return ZXing.Common.BitMatrix

encode() public method

public encode ( String contents, BarcodeFormat format, int width, int height, object>.IDictionary hints ) : BitMatrix
contents String The contents to encode in the barcode
format BarcodeFormat The barcode format to generate
width int The preferred width in pixels
height int The preferred height in pixels
hints object>.IDictionary Additional parameters to supply to the encoder
return ZXing.Common.BitMatrix