[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.QrCodeBuilder

QrCodeBuilder Class

Defines a builder to configurate QrCode.

Implements
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.Web.Mvc.dll
Syntax
public class QrCodeBuilder : BarcodeBaseBuilder<QrCode, QrCodeBuilder>, IHtmlString

Constructors

Name Description
QrCodeBuilder(QrCode)

Creates one QrCodeBuilder instance to configurate component.

Methods

Name Description
CharCode(int)

Configurates CharCode. Sets the collection of characters associated with the charset.

Charset(QrCodeCharset)

Configurates Charset. Sets which charset to encode this control.

Connection(bool)

Configurates Connection. Indicates whether the symbol is a part of a structured append message.

ConnectionIndex(int)

Configurates ConnectionIndex. Sets the index of the symbol block in the structured append message.

ErrorCorrectionLevel(QrCodeCorrectionLevel)

Configurates ErrorCorrectionLevel. Sets the restoration ability of QRCode.

Mask(int)

Configurates Mask. Sets the patterns that are defined on a grid, which are repeated as necessary to cover the whole symbol.

Model(QrCodeModel)

Configurates Model. Sets the model style of the control used.

Version(int)

Configurates Version. Sets the different module configuration of the control. The versions of QRCode range from version 1 to version 40. Each version has a different module configuration or number of modules. (The module refers to the black and white dots that make up QRCode.)

Extension Methods