# C1.Win.Chart.Annotation.Square

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Chart_Annotation_Square" data-uid="C1.Win.Chart.Annotation.Square" class="text-break">Square Class
</h1>
  <div class="markdown level0 summary"><p>Represents a square annotation for the <a class="xref" href="C1.Win.Chart.Annotation.AnnotationLayer.html">AnnotationLayer</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"><a class="xref" href="C1.Win.Chart.Annotation.AnnotationBase.html">AnnotationBase</a></div>
    <div class="level2"><a class="xref" href="C1.Win.Chart.Annotation.Shape.html">Shape</a></div>
    <div class="level3"><span class="xref">Square</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Chart.Annotation.html">C1.Win.Chart.Annotation</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexChart.10.dll</h6>
  <h5 id="C1_Win_Chart_Annotation_Square_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Square : Shape, INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Square
    Inherits Shape
    Implements INotifyPropertyChanged</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_Win_Chart_Annotation_Square__ctor" data-uid="C1.Win.Chart.Annotation.Square.#ctor">
          <a class="xref" href="C1.Win.Chart.Annotation.Square.-ctor.html#C1_Win_Chart_Annotation_Square__ctor">Square()</a>
        </td>
        <td class="markdown level1 summary"><p>Create an instance of Square.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_Square__ctor_System_String_" data-uid="C1.Win.Chart.Annotation.Square.#ctor(System.String)">
          <a class="xref" href="C1.Win.Chart.Annotation.Square.-ctor.html#C1_Win_Chart_Annotation_Square__ctor_System_String_">Square(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Create an instance of Square.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_Square__ctor_System_String_System_Int32_" data-uid="C1.Win.Chart.Annotation.Square.#ctor(System.String,System.Int32)">
          <a class="xref" href="C1.Win.Chart.Annotation.Square.-ctor.html#C1_Win_Chart_Annotation_Square__ctor_System_String_System_Int32_">Square(string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Create an instance of Square.</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_Win_Chart_Annotation_Square_Length" data-uid="C1.Win.Chart.Annotation.Square.Length">
          <a class="xref" href="C1.Win.Chart.Annotation.Square.Length.html#C1_Win_Chart_Annotation_Square_Length">Length</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the length of the square annotation.</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_Win_Chart_Annotation_Square_GetSize" data-uid="C1.Win.Chart.Annotation.Square.GetSize">
          <a class="xref" href="C1.Win.Chart.Annotation.Square.GetSize.html#C1_Win_Chart_Annotation_Square_GetSize">GetSize()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the element size.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
