# C1.Win.Chart.Annotation.Line

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Chart_Annotation_Line" data-uid="C1.Win.Chart.Annotation.Line" class="text-break">Line Class
</h1>
  <div class="markdown level0 summary"><p>Represents a line annotation for <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"><span class="xref">Line</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_Line_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Line : AnnotationBase, INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Line
    Inherits AnnotationBase
    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_Line__ctor" data-uid="C1.Win.Chart.Annotation.Line.#ctor">
          <a class="xref" href="C1.Win.Chart.Annotation.Line.-ctor.html#C1_Win_Chart_Annotation_Line__ctor">Line()</a>
        </td>
        <td class="markdown level1 summary"><p>Create an instance of Line.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_Line__ctor_System_String_" data-uid="C1.Win.Chart.Annotation.Line.#ctor(System.String)">
          <a class="xref" href="C1.Win.Chart.Annotation.Line.-ctor.html#C1_Win_Chart_Annotation_Line__ctor_System_String_">Line(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Create an instance of Line.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_Line__ctor_System_String_System_Drawing_PointF_System_Drawing_PointF_" data-uid="C1.Win.Chart.Annotation.Line.#ctor(System.String,System.Drawing.PointF,System.Drawing.PointF)">
          <a class="xref" href="C1.Win.Chart.Annotation.Line.-ctor.html#C1_Win_Chart_Annotation_Line__ctor_System_String_System_Drawing_PointF_System_Drawing_PointF_">Line(string, PointF, PointF)</a>
        </td>
        <td class="markdown level1 summary"><p>Create an instance of Line.</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_Line_Bounds" data-uid="C1.Win.Chart.Annotation.Line.Bounds">
          <a class="xref" href="C1.Win.Chart.Annotation.Line.Bounds.html#C1_Win_Chart_Annotation_Line_Bounds">Bounds</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the bounding box.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_Line_Content" data-uid="C1.Win.Chart.Annotation.Line.Content">
          <a class="xref" href="C1.Win.Chart.Annotation.Line.Content.html#C1_Win_Chart_Annotation_Line_Content">Content</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the element content.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_Line_End" data-uid="C1.Win.Chart.Annotation.Line.End">
          <a class="xref" href="C1.Win.Chart.Annotation.Line.End.html#C1_Win_Chart_Annotation_Line_End">End</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the end point of line annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_Line_EndX" data-uid="C1.Win.Chart.Annotation.Line.EndX">
          <a class="xref" href="C1.Win.Chart.Annotation.Line.EndX.html#C1_Win_Chart_Annotation_Line_EndX">EndX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the x-coordinate of ending point.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_Line_EndY" data-uid="C1.Win.Chart.Annotation.Line.EndY">
          <a class="xref" href="C1.Win.Chart.Annotation.Line.EndY.html#C1_Win_Chart_Annotation_Line_EndY">EndY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the y-coordinate of ending point.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_Line_Start" data-uid="C1.Win.Chart.Annotation.Line.Start">
          <a class="xref" href="C1.Win.Chart.Annotation.Line.Start.html#C1_Win_Chart_Annotation_Line_Start">Start</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the start point of line annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_Line_StartX" data-uid="C1.Win.Chart.Annotation.Line.StartX">
          <a class="xref" href="C1.Win.Chart.Annotation.Line.StartX.html#C1_Win_Chart_Annotation_Line_StartX">StartX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the x-coordinate of starting point.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_Line_StartY" data-uid="C1.Win.Chart.Annotation.Line.StartY">
          <a class="xref" href="C1.Win.Chart.Annotation.Line.StartY.html#C1_Win_Chart_Annotation_Line_StartY">StartY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the y-coordinate of starting point.</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_Line_Distance_System_Double_System_Double_" data-uid="C1.Win.Chart.Annotation.Line.Distance(System.Double,System.Double)">
          <a class="xref" href="C1.Win.Chart.Annotation.Line.Distance.html#C1_Win_Chart_Annotation_Line_Distance_System_Double_System_Double_">Distance(double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates distance from point(x,y) to the start point of line annotation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Chart_Annotation_Line_GetSize" data-uid="C1.Win.Chart.Annotation.Line.GetSize">
          <a class="xref" href="C1.Win.Chart.Annotation.Line.GetSize.html#C1_Win_Chart_Annotation_Line_GetSize">GetSize()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the element size.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
