Class MultiFormatWriter
- Namespace
- ZXing
- Assembly
- zxing.dll
This is a factory class which finds the appropriate Writer subclass for the BarcodeFormat requested and encodes the barcode with the supplied contents.
public sealed class MultiFormatWriter : Writer
- Inheritance
-
MultiFormatWriter
- Implements
- Inherited Members
Constructors
MultiFormatWriter()
public MultiFormatWriter()
Properties
SupportedWriters
Gets the collection of supported writers.
public static ICollection<BarcodeFormat> SupportedWriters { get; }
Property Value
Methods
encode(string, BarcodeFormat, int, int)
encode the given data
public BitMatrix encode(string contents, BarcodeFormat format, int width, int height)
Parameters
contents
stringformat
BarcodeFormatwidth
intheight
int
Returns
encode(string, BarcodeFormat, int, int, IDictionary<EncodeHintType, object>)
encode the given data
public BitMatrix encode(string contents, BarcodeFormat format, int width, int height, IDictionary<EncodeHintType, object> hints)
Parameters
contents
stringformat
BarcodeFormatwidth
intheight
inthints
IDictionary<EncodeHintType, object>