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

Need extra support?

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

Learn More

Forum Channels