Hi,
I have a Bar Code field, it is recognizing correctly and getting the correct value but one extra character is adding every time. How to remove that extra character??
Hi,
I have a Bar Code field, it is recognizing correctly and getting the correct value but one extra character is adding every time. How to remove that extra character??
0人中0人がこの記事が役に立ったと言っています
コメント
8件のコメント
You can modify the text of Barcode field, for example, in the Event Handler "After document state changed" after Recognition stage.
How can i modify the text using script. Could you help me with that please?
Hello,
Please look at this sample:
if (ChangedStates.Has(2)) //after recognition
{
if (Document.HasField("Document Section 1\\Barcode")) //full path to your barcode field should be written
{
Document.Field("Document Section 1\\Barcode").Text = ...; //here is some new value of your Barcode field
}
}
Where should i write the script?
Project > Project properties > Event Handlers tab > check "After document state changed" > Edit Script...
Hi Ekaterina,
I tried with the script which you have given, I don't need the new value their I just want to remove the extra character which is coming at last every time.
How to remove that extra character??
Hello,
The previous script shows how to get text string from your barcode. Then you may use standard .Net methods from programming languages for delete the symbol.
If you need more deeper consultation about the script please connect your regional support or Professional Service.
Ok. Thank you
サインインしてコメントを残してください。