text position in barcode

2 posts, 0 answers
  1. Juan
    Juan avatar
    20 posts
    Member since:
    Jan 2012

    Posted 05 Oct 2012 Link to this post


    i have this code in my aspx:

    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1">
                <asp:Table runat="server" CellPadding="0" CellSpacing="0" HorizontalAlign="Center">
                    <asp:TableRow runat="server">
                        <asp:TableCell runat="server">
                            <asp:Table runat="server" CellPadding="0" CellSpacing="0">
                                <asp:TableRow runat="server">
                                    <asp:TableCell runat="server">
                                        <telerik:RadBarcode runat="server"

            <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackgroundPosition="None">

    this barcode i'm load in the follow function:

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            If Not IsPostBack Then
                lbltipocodigoID.Text = Request.Params("tipocodigoID")
                lblcodigo.Text = Request.Params("codigo")

                radcodigos.Text = Val(lblcodigo.Text)

                Select Case lbltipocodigoID.Text
                    Case "1"
                        radcodigos.Type = BarcodeType.EAN13
                    Case "2"
                        radcodigos.Type = BarcodeType.EAN8
                End Select
            End If
        End Sub

    in the file "img_barcode.png" you can see my problem better.
    plase i need implements this barcode for my aplication. thanks.
  2. Kostadin
    Kostadin avatar
    1690 posts

    Posted 10 Oct 2012 Link to this post

    Hello Juan,

    A right quiet zone indicator (>) is used to indicate Quiet Zones that are necessary for barcode scanners to work properly. To configure the position of the digits you could either reduce the height size or reduce the ShortLinesLengthPercentage in percentage. More information about RadBarcode properties could be found here and about different barcode types here.

    All the best,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top