ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class QRCodeGenerator

    Show / Hide Table of Contents

    Class QRCodeGenerator

    Inheritance
    System.Object
    TagHelper
    EJTagHelper
    QRCodeGenerator
    Inherited Members
    EJTagHelper.GetList()
    EJTagHelper.GetSerializedProperties()
    EJTagHelper.GetScriptString()
    EJTagHelper.GetHtmlAttrString(IDictionary<String, Object>)
    EJTagHelper.TagName
    EJTagHelper.Id
    EJTagHelper.NameSpace
    EJTagHelper.ClassName
    EJTagHelper.IsFor
    EJTagHelper.IsChild
    EJTagHelper.IsComplex
    EJTagHelper.IsCollection
    EJTagHelper.ParentPropertyName
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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
    [HtmlAttributeName("backgroundColor")]
    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
    [HtmlAttributeName("displayText")]
    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
    [HtmlAttributeName("enablePersistence")]
    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
    [HtmlAttributeName("enableRtl")]
    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
    [HtmlAttributeName("errorCorrectionLevel")]
    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
    [HtmlAttributeName("foreColor")]
    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
    [HtmlAttributeName("height")]
    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
    [HtmlAttributeName("htmlAttributes")]
    public object HtmlAttributes { get; set; }
    Property Value
    Type Description
    System.Object

    Invalid

    Triggers if you enter any invalid character.

    Declaration
    [HtmlAttributeName("invalid")]
    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
    [HtmlAttributeName("locale")]
    public string Locale { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Margin

    Defines the margin properties for the QR code.

    Declaration
    [HtmlAttributeName("margin")]
    public QRCodeGeneratorMargin Margin { get; set; }
    Property Value
    Type Description
    QRCodeGeneratorMargin

    The default value is null

    Mode

    Defines the QR code rendering mode.

    Declaration
    [HtmlAttributeName("mode")]
    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
    [HtmlAttributeName("value")]
    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
    [HtmlAttributeName("version")]
    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
    [HtmlAttributeName("width")]
    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
    [HtmlAttributeName("xDimension")]
    public double XDimension { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is null

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved