Barcode overlap with text

3 posts, 0 answers
  1. Joseph
    Joseph avatar
    21 posts
    Member since:
    Mar 2013

    Posted 13 Aug 2013 Link to this post

    Hi guys,

    I am displaying a Code11 barcode with the Text and Checksum. On increasing the font, I recently found the text got overlapped with the barcode as the size increases. How can I fix this?

    Thanks
    Joseph.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 13 Aug 2013 Link to this post

    Hi Joseph,

    This is an expected behavior. To overcome this, you can reduce the length of the bars by setting a lower value to the ShortLinesLengthPercentage property of the RadBarCode so that the bars wont overlap with the Text when the text font-size is large. By default the ShortLinesLengthPercentage property has a value equal to 90. Suppose you set a higher value to the font-size such as Font-Size="30px", then reduce the length of bars by setting a lower value to ShortLinesLengthPercentage example : ShortLinesLengthPercentage="80".

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mariah
    Mariah avatar
    5 posts
    Member since:
    Oct 2013

    Posted 24 Apr 2014 in reply to Joseph Link to this post

    you can reset the size of the barcode as it increases
Back to Top