Results 1 to 5 of 5

Thread: Activereport Barecode

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2020
    Posts
    10

    Exclamation Activereport Barecode

    hello ..
    in vb6 activereport version 2 include Barcode tools
    i need to center line ...
    thx

    Name:  Capture.jpg
Views: 255
Size:  42.5 KB
    Last edited by DanyUp; Jan 9th, 2021 at 04:12 PM.

  2. #2
    Addicted Member
    Join Date
    Sep 2015
    Posts
    225

    Re: Activereport Barecode

    This is only possible for the caption/value of the barcode.
    The barcode itself can't be centered it must start from one direction to the other.

  3. #3
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,205

    Re: Activereport Barecode

    I generally use a barcode font for my barcodes in AR and am able to center them just as I would with any text

  4. #4
    Addicted Member
    Join Date
    Sep 2015
    Posts
    225

    Re: Activereport Barecode

    Quote Originally Posted by DataMiser View Post
    I generally use a barcode font for my barcodes in AR and am able to center them just as I would with any text
    Good but you have to take some considerations and sometimes calculations for specific barcode formats!

    https://www.idautomation.com/barcode...ctive-reports/

  5. #5
    PowerPoster wqweto's Avatar
    Join Date
    May 2011
    Location
    Sofia, Bulgaria
    Posts
    5,163

    Re: Activereport Barecode

    I usually use this cBarCode class for EAN-13, EAN-8, UPC-A, UPC-E and the EAN-128 (now GS1-128) commercial barcodes which cannot be implemented with fonts.

    The class manually produces a vector image as WMF of the barcode (pure VB6 implementation) which can be set to the Picture property of a DDActiveReports.Image control w/ SizeMore = Stretch like this

    Code:
    Private Sub Detail_Format()
        Set imgBarCode.Picture = m_oBarCode.GetEan128BarCode(fldBarCode.Text)
    End Sub
    cheers,
    </wqw>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width