Click or drag to resize

BarcoderCreateEncoder Method

Creates an encoder for the specified barcode symbology.

Namespace:  Opait.Barcoder.Api
Assembly:  Opait.Barcoder (in Opait.Barcoder.dll) Version: 1.3.4.0
Syntax
C#
public IEncoder CreateEncoder(
	BarcodeType type,
	string text,
	bool extended = false,
	bool checksum = false,
	ErrorCorrection errorCorrection = ErrorCorrection.Low
)

Parameters

type
Type: Opait.Barcoder.ApiBarcodeType
The type of the symbology.
text
Type: SystemString
The input text to be encoded.
extended (Optional)
Type: SystemBoolean
Use extended version if barcode type allows.
checksum (Optional)
Type: SystemBoolean
Use a checksum if barcode type allows.
errorCorrection (Optional)
Type: Opait.Barcoder.ApiErrorCorrection
Error correction level.

Return Value

Type: IEncoder
An encoder for the requested symbology type.
See Also