Link Search Menu Expand Document

BarcodeControlValueIsValid Method (String, Boolean)

Validates the value using current symbology rules.

Namespace:Bytescout.BarCode
Assembly: Bytescout.BarCode.WinForms (in Bytescout.BarCode.WinForms.dll) Version: 7.3.1.1185-master
Syntax
public bool ValueIsValid(
	string value,
	bool checksumIsMandatory
)

Parameters

value
Type: SystemString
The value.
checksumIsMandatory
Type: SystemBoolean
Expect the checksum if it's applicable for selected symbology.

Return Value

Type: Boolean
true if value is valid (can be encoded); otherwise, false.

Implements

IBarcodeValueIsValid(String, Boolean)
See Also

Reference


Copyright © 2016 - 2021 ByteScout