Spire.Barcode is a professional barcode library specially designed for .NET developers (C#, VB.NET, ASP.NET, .NET Core) and Java developers (J2SE and J2EE) to generate, read and scan 1D & 2D barcodes.

Sat Apr 09, 2016 4:44 pm

HI All,

I have registered the Barcode to my web application ASP.NET all are working correctly except one think, when i print the barcode or display the barcode; the barcode show a shapes or dots under the text "upper" text and around the barcode.

Is there any way to remove these dots, i have tried to change the font and the barcode type but with the same result.

Thanks in advance.

ploplo
 
Posts: 3
Joined: Sat Apr 09, 2016 4:39 pm

Mon Apr 11, 2016 3:53 am

Hello,

Thanks for your feedback.
Could you please provide your code that can replicate the issue to help us to investigate it?

Thank you
Caroline
E-iceblue support team
User avatar

caroline.zhang
 
Posts: 291
Joined: Mon Mar 07, 2016 9:22 am

Mon Apr 11, 2016 11:56 am

Thanks for your support. please find my code below.

ASPX Code:-

<cc2:BarCodeControl ID="img_Barcode" ShowText="false" runat="server" Data="111/2015"
Data2D="111/2015" TopTextAligment="Center" TopText="Test-1/1/2010" />

------------------------------------------------------

Code to generate the barcode image :-

img_Barcode.Type = CType(System.Enum.Parse(GetType(BarCodeType), ddl_BarcodeType.SelectedItem.Text), BarCodeType)

img_Barcode.ForeColor = Color.FromName(ddl_BarcodeColor.SelectedItem.Text)

img_Barcode.TopTextFont = New Font(ddl_BarcodeFontType.SelectedItem.Text, ddl_Size.SelectedItem.Text)

img_Barcode.BarHeight = ddl_Height.SelectedItem.Text

img_Barcode.ShowTopText = cb_ShowData.Checked

img_Barcode.HasBorder = cb_ShowBorder.Checked

If Me.cb_ShowBorder.Checked Then
Dim border As String = Me.ddl_BorderType.SelectedItem.ToString()
Me.img_Barcode.HasBorder = True
Me.img_Barcode.BorderDashStyle = CType(System.Enum.Parse(GetType(DashStyle), border), DashStyle)
End If

img_Barcode.BorderColor = Color.FromName(ddl_BarcodeColor.SelectedItem.Text)
img_Barcode.TopTextColor = Color.FromName(ddl_BarcodeColor.SelectedItem.Text)

ploplo
 
Posts: 3
Joined: Sat Apr 09, 2016 4:39 pm

Tue Apr 12, 2016 8:26 am

Hi,

Thanks for your information.
I tested your code and didn’t show shapes or dots in generated barcode. Could you please provide your generated barcode image to help us to know the issue and investigate it?

Thank you in advance.
Caroline
E-iceblue support team
User avatar

caroline.zhang
 
Posts: 291
Joined: Mon Mar 07, 2016 9:22 am

Tue Apr 12, 2016 6:42 pm

First of all many thanks for your reply and for your kind support, please find the attached image, also please note that the doted is shown more clear after the printing and specially under the upper text.

Again, thanks fro the kind support.

ploplo
 
Posts: 3
Joined: Sat Apr 09, 2016 4:39 pm

Wed Apr 13, 2016 7:06 am

Hello,

Thanks for your image file.
I am bit confused at this point of the shapes or dots shown under the upper text and around this barcode. I cannot see these shapes or dots as you described from the attached image and after printing.
Please specify it.

Thank you.
Caroline
E-iceblue support team
User avatar

caroline.zhang
 
Posts: 291
Joined: Mon Mar 07, 2016 9:22 am

Return to Spire.BarCode