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.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public bool Validate(
string text,
bool allowExceptions
)
Public Function Validate (
text As String,
allowExceptions As Boolean
) As Boolean
Parameters
- text
- Type: SystemString
Text to validate. - allowExceptions
- Type: SystemBoolean
Return Value
Type:
BooleanTrue if the supplied text is compatible with the selected bar code stype or false otherwise.
Exceptions Exception | Condition |
---|
ArgumentException | Thrown if there are characters not compatible with the selected bar code style. |
See Also