# C1.Web.Mvc.Rectangle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Rectangle" data-uid="C1.Web.Mvc.Rectangle" class="text-break">Rectangle Class
</h1>
  <div class="markdown level0 summary"><p>Represents a rectangle annotation for AnnotationLayer.</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.AnnotationBase.html">AnnotationBase</a></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Shape.html">Shape</a></div>
    <div class="level3"><span class="xref">Rectangle</span></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_Rectangle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Rectangle : Shape</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Rectangle
    Inherits Shape</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_Rectangle__ctor" data-uid="C1.Web.Mvc.Rectangle.#ctor">
          <a class="xref" href="C1.Web.Mvc.Rectangle.-ctor.html#C1_Web_Mvc_Rectangle__ctor">Rectangle()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Rectangle.html">Rectangle</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_Rectangle_Height" data-uid="C1.Web.Mvc.Rectangle.Height">
          <a class="xref" href="C1.Web.Mvc.Rectangle.Height.html#C1_Web_Mvc_Rectangle_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the height of the Rectangle annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Rectangle_Width" data-uid="C1.Web.Mvc.Rectangle.Width">
          <a class="xref" href="C1.Web.Mvc.Rectangle.Width.html#C1_Web_Mvc_Rectangle_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of the Rectangle annotation.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
