# C1.Web.Mvc.Fluent.AnnotationLayerExtension.AddAnnotationLayer

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Mvc_Fluent_AnnotationLayerExtension_AddAnnotationLayer_" data-uid="C1.Web.Mvc.Fluent.AnnotationLayerExtension.AddAnnotationLayer*">AddAnnotationLayer Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Mvc_Fluent_AnnotationLayerExtension_AddAnnotationLayer_" data-uid="C1.Web.Mvc.Fluent.AnnotationLayerExtension.AddAnnotationLayer*"></a>
<h4 id="C1_Web_Mvc_Fluent_AnnotationLayerExtension_AddAnnotationLayer__1_C1_Web_Mvc_Fluent_FlexChartBuilder___0__System_Action_C1_Web_Mvc_Fluent_AnnotationLayerBuilder___0___" data-uid="C1.Web.Mvc.Fluent.AnnotationLayerExtension.AddAnnotationLayer``1(C1.Web.Mvc.Fluent.FlexChartBuilder{``0},System.Action{C1.Web.Mvc.Fluent.AnnotationLayerBuilder{``0}})">AddAnnotationLayer&lt;T&gt;(FlexChartBuilder&lt;T&gt;, Action&lt;AnnotationLayerBuilder&lt;T&gt;&gt;)</h4>
<div class="markdown level1 summary"><p>Apply the AnnotationLayer extender in FlexChart.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static FlexChartBuilder&lt;T&gt; AddAnnotationLayer&lt;T&gt;(this FlexChartBuilder&lt;T&gt; flexChartBuilder, Action&lt;AnnotationLayerBuilder&lt;T&gt;&gt; annotationLayerBuilder)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function AddAnnotationLayer(Of T)(flexChartBuilder As FlexChartBuilder(Of T), annotationLayerBuilder As Action(Of AnnotationLayerBuilder(Of T))) As FlexChartBuilder(Of T)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Web.Mvc.Fluent.FlexChartBuilder-1.html">FlexChartBuilder</a>&lt;T&gt;</td>
      <td><span class="parametername">flexChartBuilder</span></td>
      <td><p>the specified flexchart builder.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="C1.Web.Mvc.Fluent.AnnotationLayerBuilder-1.html">AnnotationLayerBuilder</a>&lt;T&gt;&gt;</td>
      <td><span class="parametername">annotationLayerBuilder</span></td>
      <td><p>the specified annotationlayer builder</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Web.Mvc.Fluent.FlexChartBuilder-1.html">FlexChartBuilder</a>&lt;T&gt;</td>
      <td></td>
    </tr>
  </tbody>
</table>
<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>
</div>
