Returns a value whether the specified text is valid for a specific barcode type. In case of invalid text an appropriate exception message is saved into the specified string.
public static bool IsTextValid(TXTextControl.Barcode.BarcodeType barcodeType, string text, out string errorMessage);Public Shared Function IsTextValid(ByVal barcodeType As TXTextControl.Barcode.BarcodeType, ByVal text As String, ByRef errorMessage As String) As Boolean| Parameter | Description |
|---|---|
| barcode |
Specifies the barcode type for which the text is checked. |
| text | Specifies the text to check. |
| error |
Specifies the string into which an appropriate exception message is saved, if the checked text is not valid for a specific barcode type. |
True, if the specified text is valid for a specific barcode type. Otherwise false.