barcode text position

2 posts, 0 answers
  1. heba
    heba avatar
    8 posts
    Member since:
    Sep 2013

    Posted 19 Mar 2014 Link to this post

     I am displaying a Code11 barcode with the Text . On decreasing the ShortLinesLengthPercentage, I recently found the text got very far from the barcode. I want to control position of text How can I fix this?
  2. Angel Petrov
    Angel Petrov avatar
    1002 posts

    Posted 24 Mar 2014 Link to this post

    Hi Heba,

    You can control the position of the text in such case by setting the VerticalTextPositionPercentage property to a suitable value. For example

    <telerik:RadBarcode runat="server" ShortLinesLengthPercentage="15" VerticalTextPositionPercentage="35" ID="RadBarcode1" Height="100px"
                Type="Code11" Text="9999999999" Font-Size="16px" LineWidth="4">
    In the generated barcode the text will be moved below the vertical lines.

    Angel Petrov

    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

  3. DevCraft R3 2016 release webinar banner
Back to Top