C# Class ZXing.PDF417.PDF417Writer

Jacob Haynes [email protected] (Andrew Walbran)
Inheritance: Writer
Exibir arquivo 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
bitMatrixFromEncoder ( Internal encoder, String contents, int errorCorrectionLevel, int width, int height, int margin ) : BitMatrix

Takes encoder, accounts for width/height, and retrieves bit matrix

bitMatrixFrombitArray ( sbyte input, int margin ) : BitMatrix

This takes an array holding the values of the PDF 417

rotateArray ( sbyte bitarray ) : sbyte[][]

Takes and rotates the it 90 degrees

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