Kendo.Mvc.UI.Fluent.QRCodeBuilder
Defines the fluent API for configuring the Kendo UI QRCode
Methods
Border(System.String,System.Int32)
The border of the QR code.
Parameters
configurator System.String
The configurator for the border setting.
Background(System.String)
The background color of the QR code. Accepts a valid CSS color string, including hex and rgb.
Parameters
value System.String
The value for Background
Border(System.Action<Kendo.Mvc.UI.Fluent.QRCodeBorderSettingsBuilder>)
The border of the QR code.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.QRCodeBorderSettingsBuilder>
The configurator for the border setting.
Color(System.String)
The color of the QR code. Accepts a valid CSS color string, including hex and rgb.
Parameters
value System.String
The value for Color
Padding(System.Double)
Sets the minimum distance in pixels that should be left between the border and the QR modules.
Parameters
value System.Double
The value for Padding
RenderAs(Kendo.Mvc.UI.RenderingMode)
Sets the preferred rendering engine. If it is not supported by the browser, the QRCode will switch to the first available mode.The supported values are: "canvas" - renders the widget as a Canvas element, if available. or "svg" - renders the widget as inline SVG document, if available.
Parameters
value Kendo.Mvc.UI.RenderingMode
The value for RenderAs
Size(System.Double)
Specifies the size of a QR code in pixels (i.e. "200px"). Numeric values are treated as pixels. If no size is specified, it will be determined from the element width and height. In case the element has width or height of zero, a default value of 200 pixels will be used.
Parameters
value System.Double
The value for Size
Value(System.String)
The value of the QRCode.
Parameters
value System.String
The value for Value
Encoding(Kendo.Mvc.UI.QREncoding)
Specifies a QR code encoding mode.
Parameters
value Kendo.Mvc.UI.QREncoding
The value for Encoding
ErrorCorrection(Kendo.Mvc.UI.QRErrorCorrectionLevel)
Specifies a QR code error correction level.
Parameters
value Kendo.Mvc.UI.QRErrorCorrectionLevel
The value for ErrorCorrection