Class QRCodeLogo
Inheritance
Namespace: Syncfusion.EJ2.BarcodeGenerator
Assembly: Syncfusion.EJ2.dll
Syntax
public class QRCodeLogo : EJTagHelper
Constructors
QRCodeLogo()
Declaration
public QRCodeLogo()
Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type |
---|
Syncfusion.EJ2.MvcTemplate<System.Object> |
Height
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 double Height { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0 |
ImageSource
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 string ImageSource { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Width
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 double Width { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 0 |