RenderBarCode EAN13 vs Width

Posted by: ivan.stanojkovski on 20 February 2025, 11:38 am EST

  • Posted 20 February 2025, 11:38 am EST

    Hi

    I am working with the RenderBarCode control, specifically using the BarCodeEnum.EAN_13 type, and I would like to ask if it’s possible to dynamically adjust the barcode’s resolution when rendering. My goal is to display the EAN13 barcode within a smaller space than the default size, while maintaining high quality and sharpness.

    Here is an example of our current implementation:

    Dim barcode As New RenderBarCode(BarCodeEnum.EAN_13) With {
        .X = New Unit(766, UnitTypeEnum.Twip),
        .Y = New Unit(1588, UnitTypeEnum.Twip),
        .ShowText = True,
        .Text = "860601860500",
        .Height = 0.5,
        .Width = 0.5
    }
    C1PrintDocument1.Body.Children.Add(barcode)
    C1PrintPreviewControl1.Document = C1PrintDocument1

    In this setup, the barcode width and height are set to 0.5, but I am looking for a way to dynamically adjust the resolution so that the barcode fits within a smaller area without losing quality or data. Is there a way to achieve this?

    Thank you in advance for your assistance!

  • Posted 21 February 2025, 5:08 am EST

    Hi,

    We are currently discussing this requirement with our developers. [Internal Tracking ID: C1WIN-33712]

    We will update you on this as soon as we hear back from them.

    Thanks & regards,

    Aastha

  • Posted 6 March 2025, 1:42 pm EST

    Dear Aastha,

    Could you please provide any new information or let me know the current status?

    Thank you in advance.

  • Posted 6 March 2025, 11:29 pm EST

    Hi Ivan,

    Thanks for reaching out.

    This issue is still under discussion. We will update you on this as soon as we get any updates.

    Thanks & regards,

    Aastha

  • Posted 27 March 2025, 5:04 pm EST

    Dear Aastha

    I hope this message finds you well.

    I would like to kindly follow up on the status of the ongoing discussion regarding this topic. Could you please provide any insight into what is causing the delay in feedback from your developers? If there are any specific challenges or obstacles, I would greatly appreciate it if you could share that information.

    If a solution is still under evaluation, any updates on the progress would be much appreciated. We understand that such matters can take time, but any clarity on the situation would be very helpful, as we are keen to move forward with the implementation.

    Thank you for your continued support, and I look forward to hearing from you soon.

    Best regards,

  • Posted 28 March 2025, 7:20 am EST

    Hi Ivan,

    We are very sorry for all the inconvenience this may have caused you.

    Our developers researched on this issue and tried to implement your requirement, but they found out that barcodes must be a certain bar width, so the width is determined by the Barcode value. Therefore, it is not possible to scale down the barcode after a certain limit.

    We apologize for the inconvenience. Thanks for your understanding.

    Kind Regards,

    Aastha

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels