 | BarcodeCreate Method |
Creates an encoder for the specified barcode symbology.
Namespace:
Opait.Barcode
Assembly:
Opait.Barcode (in Opait.Barcode.dll) Version: 1.2.0.0
Syntaxpublic static Barcode Create(
BarcodeType type,
string text,
bool extended = false,
bool checksum = false,
ErrorCorrection errorCorrection = ErrorCorrection.Low
)
Parameters
- type
- Type: Opait.BarcodeBarcodeType
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.BarcodeErrorCorrection
Error correction level.
Return Value
Type:
BarcodeThe encoder for the requested symbology type.
See Also