QR Code Quiet Zone

1 Answer 6 Views
QRCode
Lee
Top achievements
Rank 1
Lee asked on 30 Sep 2025, 03:34 PM

I'm looking to use to the QR Code so it can be used on product packaging etc and one of them requirements is for the QR Code to have a set quiet zone around it. I can't find anything specific that allows a value to be set for this so I was wondering whether anyone else had hit the same issue or if they knew what the solution was for this.

Thanks

1 Answer, 1 is accepted

Sort by
0
Mihaela
Telerik team
answered on 01 Oct 2025, 02:33 PM

Hello Lee,

To set a specific quiet zone (the space around the QR code), you can use the Padding() option. It allows you to define the quiet zone in pixels, ensuring that scanners can easily read the code.

@(Html.Kendo().QRCode()
            .Name("qrUrl")
            .Value("https://demos.telerik.com/kendo-ui/qrcode/index")
            .ErrorCorrection(QRErrorCorrectionLevel.M)
            .Size(240)
            .Padding(20)
            .Border(border => border.Color("#000000").Width(3))
)

I hope that helps.

    Regards,
    Mihaela
    Progress Telerik

    Your perspective matters! Join other professionals in the State of Designer-Developer Collaboration 2025: Workflows, Trends and AI survey to share how AI and new workflows are impacting collaboration, and be among the first to see the key findings.
    Start the 2025 Survey
    Tags
    QRCode
    Asked by
    Lee
    Top achievements
    Rank 1
    Answers by
    Mihaela
    Telerik team
    Share this question
    or