# C1.Web.Mvc.QrCode

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_QrCode" data-uid="C1.Web.Mvc.QrCode" class="text-break">QrCode Class
</h1>
  <div class="markdown level0 summary"><p>Represents a control for drawing QRCode barcode type.</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"><a class="xref" href="C1.Web.Mvc.Component.html">Component</a></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Control.html">Control</a></div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.BarcodeBase.html">BarcodeBase</a></div>
    <div class="level4"><span class="xref">QrCode</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><a class="xref" href="C1.Web.Mvc.ITemplate.html">ITemplate</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_QrCode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class QrCode : BarcodeBase, IHtmlContent, ITemplate</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class QrCode
    Inherits BarcodeBase
    Implements IHtmlContent, ITemplate</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_QrCode__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_" data-uid="C1.Web.Mvc.QrCode.#ctor(Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper,System.String)">
          <a class="xref" href="C1.Web.Mvc.QrCode.-ctor.html#C1_Web_Mvc_QrCode__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_">QrCode(IHtmlHelper, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.QrCode.html">QrCode</a> instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</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_QrCode_CharCode" data-uid="C1.Web.Mvc.QrCode.CharCode">
          <a class="xref" href="C1.Web.Mvc.QrCode.CharCode.html#C1_Web_Mvc_QrCode_CharCode">CharCode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the collection of characters associated with the charset.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_QrCode_Charset" data-uid="C1.Web.Mvc.QrCode.Charset">
          <a class="xref" href="C1.Web.Mvc.QrCode.Charset.html#C1_Web_Mvc_QrCode_Charset">Charset</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets which charset to encode this control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_QrCode_Connection" data-uid="C1.Web.Mvc.QrCode.Connection">
          <a class="xref" href="C1.Web.Mvc.QrCode.Connection.html#C1_Web_Mvc_QrCode_Connection">Connection</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the symbol is a part of a structured append message.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_QrCode_ConnectionIndex" data-uid="C1.Web.Mvc.QrCode.ConnectionIndex">
          <a class="xref" href="C1.Web.Mvc.QrCode.ConnectionIndex.html#C1_Web_Mvc_QrCode_ConnectionIndex">ConnectionIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the index of the symbol block in the structured append message.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_QrCode_ErrorCorrectionLevel" data-uid="C1.Web.Mvc.QrCode.ErrorCorrectionLevel">
          <a class="xref" href="C1.Web.Mvc.QrCode.ErrorCorrectionLevel.html#C1_Web_Mvc_QrCode_ErrorCorrectionLevel">ErrorCorrectionLevel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the restoration ability of QRCode.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_QrCode_Mask" data-uid="C1.Web.Mvc.QrCode.Mask">
          <a class="xref" href="C1.Web.Mvc.QrCode.Mask.html#C1_Web_Mvc_QrCode_Mask">Mask</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or 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_QrCode_Model" data-uid="C1.Web.Mvc.QrCode.Model">
          <a class="xref" href="C1.Web.Mvc.QrCode.Model.html#C1_Web_Mvc_QrCode_Model">Model</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the model style of the control used.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_QrCode_Version" data-uid="C1.Web.Mvc.QrCode.Version">
          <a class="xref" href="C1.Web.Mvc.QrCode.Version.html#C1_Web_Mvc_QrCode_Version">Version</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or 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>
