Jump to content

youlink

Newbies
  • Posts

    1
  • Joined

  • Last visited

Everything posted by youlink

  1. here i'd like to share some codes with you to help you create EAN-8 in project. Dim reImage As REImage = REFile.OpenImageFile("c:/Sample.png", New PNGDecoder()) Dim barcode As New Linear() 'create a barcode barcode.Type = BarcodeType.EAN8 'select barcode type barcode.Data = "7777777" 'Enter a 7-digit data string barcode.X = 1F 'set bar width barcode.Y = 60F 'set bar height barcode.Resolution = 96 'set resolution barcode.Rotate = Rotate.Rotate0 'set rotate barcode.DrawBarcode(reImage, 0, 0) 'draw barcode on REImage with location x and y REFile.SaveImageFile(reImage, "c:/ean8.png", New PNGEncoder())
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.