This is a migrated thread and some comments may be shown as answers.

text position in barcode

1 Answer 159 Views
Barcode
This is a migrated thread and some comments may be shown as answers.
Juan
Top achievements
Rank 1
Juan asked on 05 Oct 2012, 09:12 PM
hi!!

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"
                                                        ID="radcodigos"
                                                        Width="100"
                                                        Height="30"
                                                        Font-Size="10px"
                                                        ShowChecksum="false"
                                                        RenderChecksum="false"
                                                        ShowText="true"></telerik:RadBarcode>

                                </asp:TableCell>
                            </asp:TableRow>
                        </asp:Table>
                    </asp:TableCell>
                </asp:TableRow>
            </asp:Table>      
        </telerik:RadAjaxPanel>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackgroundPosition="None">
        </telerik:RadAjaxLoadingPanel>


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.

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 10 Oct 2012, 09:05 AM
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,
Kostadin
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.
Tags
Barcode
Asked by
Juan
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or