# C1.WinUI.Viewer.C1WinUICanvasGraphics.InternalDrawLine

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WinUI_Viewer_C1WinUICanvasGraphics_InternalDrawLine_" data-uid="C1.WinUI.Viewer.C1WinUICanvasGraphics.InternalDrawLine*">InternalDrawLine Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WinUI_Viewer_C1WinUICanvasGraphics_InternalDrawLine_" data-uid="C1.WinUI.Viewer.C1WinUICanvasGraphics.InternalDrawLine*"></a>
<h4 id="C1_WinUI_Viewer_C1WinUICanvasGraphics_InternalDrawLine_System_Double_System_Double_System_Double_System_Double_System_Drawing_Color_System_Double_C1_Document_Util_PenStyle_" data-uid="C1.WinUI.Viewer.C1WinUICanvasGraphics.InternalDrawLine(System.Double,System.Double,System.Double,System.Double,System.Drawing.Color,System.Double,C1.Document.Util.PenStyle)">InternalDrawLine(double, double, double, double, Color, double, PenStyle)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected override void InternalDrawLine(double x1, double y1, double x2, double y2, Color lineColor, double lineWidth, PenStyle penStyle)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides Sub InternalDrawLine(x1 As Double, y1 As Double, x2 As Double, y2 As Double, lineColor As Color, lineWidth As Double, penStyle As PenStyle)</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="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">x1</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">y1</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">x2</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">y2</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">lineColor</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">lineWidth</span></td>
      <td></td>
    </tr>
    <tr>
      <td><span class="xref">PenStyle</span></td>
      <td><span class="parametername">penStyle</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
