This is a migrated thread and some comments may be shown as answers.

EAN13 BarCode only accept 12 digits

2 Answers 139 Views
Barcode
This is a migrated thread and some comments may be shown as answers.
Sébastien
Top achievements
Rank 1
Sébastien asked on 23 Jan 2019, 10:52 AM

Hello, 

I have 13 digits gencods, and i need to generate EAN13 BarCode. 

But it seems RadBarcode only accept 12 digits for EAN13 (or it crashs)

What should I do ? I need to convert my 13 digits gencod into 12 digits ? 

 

Thanks

2 Answers, 1 is accepted

Sort by
0
Sébastien
Top achievements
Rank 1
answered on 23 Jan 2019, 11:16 AM
Nervermind, I just needed to force AutoChecksum to false
0
Accepted
Yana
Telerik team
answered on 23 Jan 2019, 12:40 PM
Hi Sébastien,

Indeed, per specification EAN13 symbology is of fixed length of 13 digits  - 12 data and 1 check. So, setting AutoCheckSum resolves the issue in this case.

Regards,
Yana
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Barcode
Asked by
Sébastien
Top achievements
Rank 1
Answers by
Sébastien
Top achievements
Rank 1
Yana
Telerik team
Share this question
or