I cut the numbers in itextSharp from a barcode

0

I am printing a barcode with iTextsharp but in the pdf I cut it. I leave the images.

I have 18 digits.

And here I cut it to 13 digits.

    
asked by Alcides Salazar 27.09.2017 в 15:22
source

1 answer

3

The standard EAN13 , as its name suggests, consists of 13 digits. It is not possible to enter more, so the iTextSharp intelligently truncates the data you pass so that it complies with the standard.

If you need 18 characters, you can try some other type of bar code, such as Code-128

    
answered by 27.09.2017 / 15:37
source