Click or drag to resize

BarcodeWriterValidate Method

Validates the passed text against the selected bar code style.

Namespace:  Atalasoft.Barcoding.Writing
Assembly:  Atalasoft.dotImage.Barcoding.Writing (in Atalasoft.dotImage.Barcoding.Writing.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public bool Validate(
	string text,
	bool allowExceptions
)

Parameters

text
Type: SystemString
Text to validate.
allowExceptions
Type: SystemBoolean

Return Value

Type: Boolean
True if the supplied text is compatible with the selected bar code stype or false otherwise.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if there are characters not compatible with the selected bar code style.
See Also