menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class QRCodeLogoBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class QRCodeLogoBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    QRCodeLogoBuilder
    Namespace: Syncfusion.EJ2.BarcodeGenerator
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class QRCodeLogoBuilder : ControlBuilder

    Constructors

    QRCodeLogoBuilder()

    Declaration
    public QRCodeLogoBuilder()

    QRCodeLogoBuilder(QRCodeLogo)

    Declaration
    public QRCodeLogoBuilder(QRCodeLogo model)
    Parameters
    Type Name Description
    QRCodeLogo model

    Methods

    Height(Double)

    Sets the height of the logo in pixels. If not specified, the logo's height will default to 30% of the QR code's dimensions. If the specified height exceeds 30% of the QR code's dimensions, the height will be restricted to 30%. Depending on the size of the overlay, you might need to raise the errorCorrectionLevel to "High".

    Declaration
    public QRCodeLogoBuilder Height(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    QRCodeLogoBuilder

    ImageSource(String)

    Specifies the source for the logo image. This can be a path to a local file, a URL to a remote file, or a Base64-encoded image string. The logo is placed at the center of the QR code.

    Declaration
    public QRCodeLogoBuilder ImageSource(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    QRCodeLogoBuilder

    Width(Double)

    Sets the width of the logo in pixels. If not specified, the logo's width will default to 30% of the QR code's dimensions. If the specified width exceeds 30% of the QR code's dimensions, the width will be restricted to 30%. Depending on the size of the overlay, you might need to raise the errorCorrectionLevel to "High".

    Declaration
    public QRCodeLogoBuilder Width(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type
    QRCodeLogoBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved