Table of Contents

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

ICollection<BarcodeFormat>

Methods

encode(string, BarcodeFormat, int, int)

encode the given data

public BitMatrix encode(string contents, BarcodeFormat format, int width, int height)

Parameters

contents string
format BarcodeFormat
width int
height int

Returns

BitMatrix

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 string
format BarcodeFormat
width int
height int
hints IDictionary<EncodeHintType, object>

Returns

BitMatrix