Class QRCodeGenerator
Inheritance
Namespace: Syncfusion.EJ2.BarcodeGenerator
Assembly: Syncfusion.EJ2.dll
Syntax
public class QRCodeGenerator : EJTagHelper
Constructors
QRCodeGenerator()
Declaration
public QRCodeGenerator()
Properties
BackgroundColor
Defines the background color of the QR code.
Declaration
public string BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "white" |
DisplayText
Defines the text properties for the QR code.
Declaration
public QRCodeGeneratorDisplayText DisplayText { get; set; }
Property Value
Type | Description |
---|---|
QRCodeGeneratorDisplayText | The default value is null |
EnablePersistence
Enable or disable persisting component's state between page reloads.
Declaration
public bool EnablePersistence { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
EnableRtl
Enable or disable rendering component in right to left direction.
Declaration
public bool EnableRtl { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
ErrorCorrectionLevel
Defines the error correction level of the QR code.
Declaration
public ErrorCorrectionLevel ErrorCorrectionLevel { get; set; }
Property Value
Type | Description |
---|---|
ErrorCorrectionLevel | The default value is ErrorCorrectionLevel.Undefined |
ForeColor
Defines the forecolor of the QR code.
Declaration
public string ForeColor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "black" |
Height
Defines the height of the QR code model.
Declaration
public string Height { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "100%" |
HtmlAttributes
Allows additional HTML attributes such as title, name, etc., and accepts n number of attributes in a key-value pair format.
Declaration
public object HtmlAttributes { get; set; }
Property Value
Type |
---|
System.Object |
Invalid
Triggers if you enter any invalid character.
Declaration
public string Invalid { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Locale
Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
Declaration
public string Locale { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "" |
Logo
Specifies the logo overlay configuration for the QR code.
Declaration
public QRCodeLogo Logo { get; set; }
Property Value
Type | Description |
---|---|
QRCodeLogo | The default value is null |
Margin
Defines the margin properties for the QR code.
Declaration
public QRCodeGeneratorMargin Margin { get; set; }
Property Value
Type | Description |
---|---|
QRCodeGeneratorMargin | The default value is null |
Mode
Defines the QR code rendering mode.
Declaration
public RenderingMode Mode { get; set; }
Property Value
Type | Description |
---|---|
RenderingMode | The default value is RenderingMode.SVG |
Value
Defines the type of barcode to be rendered.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
Version
Defines the version of the QR code.
Declaration
public QRCodeVersion Version { get; set; }
Property Value
Type | Description |
---|---|
QRCodeVersion | The default value is QRCodeVersion.Undefined |
Width
Defines the width of the QR code model.
Declaration
public string Width { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is "100%" |
XDimension
Defines the xDimension of the QR code model.
Declaration
public double XDimension { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is null |