C# Class ZXing.QrCode.QRCodeWriter

This object renders a QR Code as a BitMatrix 2D array of greyscale values. [email protected] (Daniel Switkin)
Inheritance: Writer
ファイルを表示 Open project: Redth/ZXing.Net.Mobile Class Usage Examples

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
renderResult ( QRCode code, int width, int height, int quietZone ) : 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