# C1.Web.Mvc.Fluent.AnnotationLayerBuilder-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_AnnotationLayerBuilder_1" data-uid="C1.Web.Mvc.Fluent.AnnotationLayerBuilder`1" class="text-break">AnnotationLayerBuilder&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.AnnotationLayer-1.html">AnnotationLayer&lt;T&gt;</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.AnnotationLayer-1.html">AnnotationLayer</a>&lt;T&gt;, <a class="xref" href="C1.Web.Mvc.Fluent.AnnotationLayerBuilder-1.html">AnnotationLayerBuilder</a>&lt;T&gt;&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.AnnotationLayer-1.html">AnnotationLayer</a>&lt;T&gt;, <a class="xref" href="C1.Web.Mvc.Fluent.AnnotationLayerBuilder-1.html">AnnotationLayerBuilder</a>&lt;T&gt;&gt;</div>
    <div class="level4"><span class="xref">ExtenderBuilder</span>&lt;<a class="xref" href="C1.Web.Mvc.AnnotationLayer-1.html">AnnotationLayer</a>&lt;T&gt;, <a class="xref" href="C1.Web.Mvc.Fluent.AnnotationLayerBuilder-1.html">AnnotationLayerBuilder</a>&lt;T&gt;&gt;</div>
    <div class="level5"><span class="xref">AnnotationLayerBuilder&lt;T&gt;</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_AnnotationLayerBuilder_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class AnnotationLayerBuilder&lt;T&gt; : ExtenderBuilder&lt;AnnotationLayer&lt;T&gt;, AnnotationLayerBuilder&lt;T&gt;&gt;, IHtmlContent</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class AnnotationLayerBuilder(Of T)
    Inherits ExtenderBuilder(Of AnnotationLayer(Of T), AnnotationLayerBuilder(Of T))
    Implements IHtmlContent</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <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_AnnotationLayerBuilder_1__ctor_C1_Web_Mvc_AnnotationLayer__0__" data-uid="C1.Web.Mvc.Fluent.AnnotationLayerBuilder`1.#ctor(C1.Web.Mvc.AnnotationLayer{`0})">
          <a class="xref" href="C1.Web.Mvc.Fluent.AnnotationLayerBuilder-1.-ctor.html#C1_Web_Mvc_Fluent_AnnotationLayerBuilder_1__ctor_C1_Web_Mvc_AnnotationLayer__0__">AnnotationLayerBuilder(AnnotationLayer&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Create one FlexGridFilterBuilder instance.</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_AnnotationLayerBuilder_1_AddCircle_System_Action_C1_Web_Mvc_Fluent_CircleBuilder__" data-uid="C1.Web.Mvc.Fluent.AnnotationLayerBuilder`1.AddCircle(System.Action{C1.Web.Mvc.Fluent.CircleBuilder})">
          <a class="xref" href="C1.Web.Mvc.Fluent.AnnotationLayerBuilder-1.AddCircle.html#C1_Web_Mvc_Fluent_AnnotationLayerBuilder_1_AddCircle_System_Action_C1_Web_Mvc_Fluent_CircleBuilder__">AddCircle(Action&lt;CircleBuilder&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Add circle annotation for annotationlayer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_AnnotationLayerBuilder_1_AddEllipse_System_Action_C1_Web_Mvc_Fluent_EllipseBuilder__" data-uid="C1.Web.Mvc.Fluent.AnnotationLayerBuilder`1.AddEllipse(System.Action{C1.Web.Mvc.Fluent.EllipseBuilder})">
          <a class="xref" href="C1.Web.Mvc.Fluent.AnnotationLayerBuilder-1.AddEllipse.html#C1_Web_Mvc_Fluent_AnnotationLayerBuilder_1_AddEllipse_System_Action_C1_Web_Mvc_Fluent_EllipseBuilder__">AddEllipse(Action&lt;EllipseBuilder&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Add ellipse annotation for annotationlayer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_AnnotationLayerBuilder_1_AddImage_System_Action_C1_Web_Mvc_Fluent_ImageBuilder__" data-uid="C1.Web.Mvc.Fluent.AnnotationLayerBuilder`1.AddImage(System.Action{C1.Web.Mvc.Fluent.ImageBuilder})">
          <a class="xref" href="C1.Web.Mvc.Fluent.AnnotationLayerBuilder-1.AddImage.html#C1_Web_Mvc_Fluent_AnnotationLayerBuilder_1_AddImage_System_Action_C1_Web_Mvc_Fluent_ImageBuilder__">AddImage(Action&lt;ImageBuilder&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Add image annotation for annotationlayer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_AnnotationLayerBuilder_1_AddLine_System_Action_C1_Web_Mvc_Fluent_LineBuilder__" data-uid="C1.Web.Mvc.Fluent.AnnotationLayerBuilder`1.AddLine(System.Action{C1.Web.Mvc.Fluent.LineBuilder})">
          <a class="xref" href="C1.Web.Mvc.Fluent.AnnotationLayerBuilder-1.AddLine.html#C1_Web_Mvc_Fluent_AnnotationLayerBuilder_1_AddLine_System_Action_C1_Web_Mvc_Fluent_LineBuilder__">AddLine(Action&lt;LineBuilder&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Add line annotation for annotationlayer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_AnnotationLayerBuilder_1_AddPolygon_System_Action_C1_Web_Mvc_Fluent_PolygonBuilder__" data-uid="C1.Web.Mvc.Fluent.AnnotationLayerBuilder`1.AddPolygon(System.Action{C1.Web.Mvc.Fluent.PolygonBuilder})">
          <a class="xref" href="C1.Web.Mvc.Fluent.AnnotationLayerBuilder-1.AddPolygon.html#C1_Web_Mvc_Fluent_AnnotationLayerBuilder_1_AddPolygon_System_Action_C1_Web_Mvc_Fluent_PolygonBuilder__">AddPolygon(Action&lt;PolygonBuilder&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Add polygon annotation for annotationlayer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_AnnotationLayerBuilder_1_AddRectangle_System_Action_C1_Web_Mvc_Fluent_RectangleBuilder__" data-uid="C1.Web.Mvc.Fluent.AnnotationLayerBuilder`1.AddRectangle(System.Action{C1.Web.Mvc.Fluent.RectangleBuilder})">
          <a class="xref" href="C1.Web.Mvc.Fluent.AnnotationLayerBuilder-1.AddRectangle.html#C1_Web_Mvc_Fluent_AnnotationLayerBuilder_1_AddRectangle_System_Action_C1_Web_Mvc_Fluent_RectangleBuilder__">AddRectangle(Action&lt;RectangleBuilder&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Add rectangle annotation for annotationlayer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_AnnotationLayerBuilder_1_AddSquare_System_Action_C1_Web_Mvc_Fluent_SquareBuilder__" data-uid="C1.Web.Mvc.Fluent.AnnotationLayerBuilder`1.AddSquare(System.Action{C1.Web.Mvc.Fluent.SquareBuilder})">
          <a class="xref" href="C1.Web.Mvc.Fluent.AnnotationLayerBuilder-1.AddSquare.html#C1_Web_Mvc_Fluent_AnnotationLayerBuilder_1_AddSquare_System_Action_C1_Web_Mvc_Fluent_SquareBuilder__">AddSquare(Action&lt;SquareBuilder&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Add square annotation for annotationlayer.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_AnnotationLayerBuilder_1_AddText_System_Action_C1_Web_Mvc_Fluent_TextBuilder__" data-uid="C1.Web.Mvc.Fluent.AnnotationLayerBuilder`1.AddText(System.Action{C1.Web.Mvc.Fluent.TextBuilder})">
          <a class="xref" href="C1.Web.Mvc.Fluent.AnnotationLayerBuilder-1.AddText.html#C1_Web_Mvc_Fluent_AnnotationLayerBuilder_1_AddText_System_Action_C1_Web_Mvc_Fluent_TextBuilder__">AddText(Action&lt;TextBuilder&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Add text annotation for annotationlayer.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
