# C1.Web.Mvc.Fluent.QrCodeBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_QrCodeBuilder" data-uid="C1.Web.Mvc.Fluent.QrCodeBuilder" class="text-break">QrCodeBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.QrCode.html">QrCode</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">HideObjectMembers</span></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Fluent.BaseBuilder-2.html">BaseBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.QrCode.html">QrCode</a>, <a class="xref" href="C1.Web.Mvc.Fluent.QrCodeBuilder.html">QrCodeBuilder</a>&gt;</div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.Fluent.ComponentBuilder-2.html">ComponentBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.QrCode.html">QrCode</a>, <a class="xref" href="C1.Web.Mvc.Fluent.QrCodeBuilder.html">QrCodeBuilder</a>&gt;</div>
    <div class="level4"><a class="xref" href="C1.Web.Mvc.Fluent.ControlBuilder-2.html">ControlBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.QrCode.html">QrCode</a>, <a class="xref" href="C1.Web.Mvc.Fluent.QrCodeBuilder.html">QrCodeBuilder</a>&gt;</div>
    <div class="level5"><a class="xref" href="C1.Web.Mvc.Fluent.BarcodeBaseBuilder-2.html">BarcodeBaseBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.QrCode.html">QrCode</a>, <a class="xref" href="C1.Web.Mvc.Fluent.QrCodeBuilder.html">QrCodeBuilder</a>&gt;</div>
    <div class="level6"><span class="xref">QrCodeBuilder</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.html.ihtmlcontent">IHtmlContent</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Fluent.html">C1.Web.Mvc.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Fluent_QrCodeBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class QrCodeBuilder : BarcodeBaseBuilder&lt;QrCode, QrCodeBuilder&gt;, IHtmlContent</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class QrCodeBuilder
    Inherits BarcodeBaseBuilder(Of QrCode, QrCodeBuilder)
    Implements IHtmlContent</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Fluent_QrCodeBuilder__ctor_C1_Web_Mvc_QrCode_" data-uid="C1.Web.Mvc.Fluent.QrCodeBuilder.#ctor(C1.Web.Mvc.QrCode)">
          <a class="xref" href="C1.Web.Mvc.Fluent.QrCodeBuilder.-ctor.html#C1_Web_Mvc_Fluent_QrCodeBuilder__ctor_C1_Web_Mvc_QrCode_">QrCodeBuilder(QrCode)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.QrCodeBuilder.html">QrCodeBuilder</a> instance to configurate <code class="paramref">component</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Fluent_QrCodeBuilder_CharCode_System_Int32_" data-uid="C1.Web.Mvc.Fluent.QrCodeBuilder.CharCode(System.Int32)">
          <a class="xref" href="C1.Web.Mvc.Fluent.QrCodeBuilder.CharCode.html#C1_Web_Mvc_Fluent_QrCodeBuilder_CharCode_System_Int32_">CharCode(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.QrCode.CharCode.html#C1_Web_Mvc_QrCode_CharCode">CharCode</a>.
Sets the collection of characters associated with the charset.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_QrCodeBuilder_Charset_C1_Web_Mvc_QrCodeCharset_" data-uid="C1.Web.Mvc.Fluent.QrCodeBuilder.Charset(C1.Web.Mvc.QrCodeCharset)">
          <a class="xref" href="C1.Web.Mvc.Fluent.QrCodeBuilder.Charset.html#C1_Web_Mvc_Fluent_QrCodeBuilder_Charset_C1_Web_Mvc_QrCodeCharset_">Charset(QrCodeCharset)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.QrCode.Charset.html#C1_Web_Mvc_QrCode_Charset">Charset</a>.
Sets which charset to encode this control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_QrCodeBuilder_Connection_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.QrCodeBuilder.Connection(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.QrCodeBuilder.Connection.html#C1_Web_Mvc_Fluent_QrCodeBuilder_Connection_System_Boolean_">Connection(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.QrCode.Connection.html#C1_Web_Mvc_QrCode_Connection">Connection</a>.
Indicates whether the symbol is a part of a structured append message.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_QrCodeBuilder_ConnectionIndex_System_Int32_" data-uid="C1.Web.Mvc.Fluent.QrCodeBuilder.ConnectionIndex(System.Int32)">
          <a class="xref" href="C1.Web.Mvc.Fluent.QrCodeBuilder.ConnectionIndex.html#C1_Web_Mvc_Fluent_QrCodeBuilder_ConnectionIndex_System_Int32_">ConnectionIndex(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.QrCode.ConnectionIndex.html#C1_Web_Mvc_QrCode_ConnectionIndex">ConnectionIndex</a>.
Sets the index of the symbol block in the structured append message.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_QrCodeBuilder_ErrorCorrectionLevel_C1_Web_Mvc_QrCodeCorrectionLevel_" data-uid="C1.Web.Mvc.Fluent.QrCodeBuilder.ErrorCorrectionLevel(C1.Web.Mvc.QrCodeCorrectionLevel)">
          <a class="xref" href="C1.Web.Mvc.Fluent.QrCodeBuilder.ErrorCorrectionLevel.html#C1_Web_Mvc_Fluent_QrCodeBuilder_ErrorCorrectionLevel_C1_Web_Mvc_QrCodeCorrectionLevel_">ErrorCorrectionLevel(QrCodeCorrectionLevel)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.QrCode.ErrorCorrectionLevel.html#C1_Web_Mvc_QrCode_ErrorCorrectionLevel">ErrorCorrectionLevel</a>.
Sets the restoration ability of QRCode.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_QrCodeBuilder_Mask_System_Int32_" data-uid="C1.Web.Mvc.Fluent.QrCodeBuilder.Mask(System.Int32)">
          <a class="xref" href="C1.Web.Mvc.Fluent.QrCodeBuilder.Mask.html#C1_Web_Mvc_Fluent_QrCodeBuilder_Mask_System_Int32_">Mask(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.QrCode.Mask.html#C1_Web_Mvc_QrCode_Mask">Mask</a>.
Sets the patterns that are defined on a grid, which are repeated as necessary to cover the whole symbol.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_QrCodeBuilder_Model_C1_Web_Mvc_QrCodeModel_" data-uid="C1.Web.Mvc.Fluent.QrCodeBuilder.Model(C1.Web.Mvc.QrCodeModel)">
          <a class="xref" href="C1.Web.Mvc.Fluent.QrCodeBuilder.Model.html#C1_Web_Mvc_Fluent_QrCodeBuilder_Model_C1_Web_Mvc_QrCodeModel_">Model(QrCodeModel)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.QrCode.Model.html#C1_Web_Mvc_QrCode_Model">Model</a>.
Sets the model style of the control used.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_QrCodeBuilder_Version_System_Int32_" data-uid="C1.Web.Mvc.Fluent.QrCodeBuilder.Version(System.Int32)">
          <a class="xref" href="C1.Web.Mvc.Fluent.QrCodeBuilder.Version.html#C1_Web_Mvc_Fluent_QrCodeBuilder_Version_System_Int32_">Version(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.QrCode.Version.html#C1_Web_Mvc_QrCode_Version">Version</a>.
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.)</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
