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

    Hi,
     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?
    Thanks
  2. Angel Petrov
    Admin
    Angel Petrov avatar
    1006 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

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

    Regards,
    Angel Petrov
    Telerik
     

    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. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top