# C1.C1Word.Canvas.TextPlainTextShape.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Word_Canvas_TextPlainTextShape__ctor_" data-uid="C1.C1Word.Canvas.TextPlainTextShape.#ctor*">TextPlainTextShape Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Word_Canvas_TextPlainTextShape__ctor_" data-uid="C1.C1Word.Canvas.TextPlainTextShape.#ctor*"></a>
<h4 id="C1_C1Word_Canvas_TextPlainTextShape__ctor" data-uid="C1.C1Word.Canvas.TextPlainTextShape.#ctor">TextPlainTextShape()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.C1Word.Canvas.TextPlainTextShape.html">TextPlainTextShape</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TextPlainTextShape()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_C1Word_Canvas_TextPlainTextShape__ctor_" data-uid="C1.C1Word.Canvas.TextPlainTextShape.#ctor*"></a>
<h4 id="C1_C1Word_Canvas_TextPlainTextShape__ctor_System_Drawing_Point_System_Drawing_Point_" data-uid="C1.C1Word.Canvas.TextPlainTextShape.#ctor(System.Drawing.Point,System.Drawing.Point)">TextPlainTextShape(Point, Point)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.C1Word.Canvas.TextPlainTextShape.html">TextPlainTextShape</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TextPlainTextShape(Point pt1, Point pt2)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(pt1 As Point, pt2 As Point)</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.drawing.point">Point</a></td>
      <td><span class="parametername">pt1</span></td>
      <td><p>The start point of the line, coordinates in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a></td>
      <td><span class="parametername">pt2</span></td>
      <td><p>The end point of the line, coordinates in twips.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Word_Canvas_TextPlainTextShape__ctor_" data-uid="C1.C1Word.Canvas.TextPlainTextShape.#ctor*"></a>
<h4 id="C1_C1Word_Canvas_TextPlainTextShape__ctor_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.C1Word.Canvas.TextPlainTextShape.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)">TextPlainTextShape(int, int, int, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.C1Word.Canvas.TextPlainTextShape.html">TextPlainTextShape</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TextPlainTextShape(int x1, int y1, int x2, int y2)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(x1 As Integer, y1 As Integer, x2 As Integer, y2 As Integer)</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.int32">int</a></td>
      <td><span class="parametername">x1</span></td>
      <td><p>The horizontal position of the begin line, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y1</span></td>
      <td><p>The vertical position of the begin line, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x2</span></td>
      <td><p>The horizontal position of the end line, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y2</span></td>
      <td><p>The vertical position of the end line, in twips.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Word_Canvas_TextPlainTextShape__ctor_" data-uid="C1.C1Word.Canvas.TextPlainTextShape.#ctor*"></a>
<h4 id="C1_C1Word_Canvas_TextPlainTextShape__ctor_C1_C1Word_Canvas_IShapeContainer_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.C1Word.Canvas.TextPlainTextShape.#ctor(C1.C1Word.Canvas.IShapeContainer,System.Int32,System.Int32,System.Int32,System.Int32)">TextPlainTextShape(IShapeContainer, int, int, int, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.C1Word.Canvas.TextPlainTextShape.html">TextPlainTextShape</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TextPlainTextShape(IShapeContainer container, int x1, int y1, int x2, int y2)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(container As IShapeContainer, x1 As Integer, y1 As Integer, x2 As Integer, y2 As Integer)</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.C1Word.Canvas.IShapeContainer.html">IShapeContainer</a></td>
      <td><span class="parametername">container</span></td>
      <td><p><a class="xref" href="C1.C1Word.Canvas.IShapeContainer.html">IShapeContainer</a> object that owns the shape container.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x1</span></td>
      <td><p>The horizontal position of the begin line, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y1</span></td>
      <td><p>The vertical position of the begin line, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">x2</span></td>
      <td><p>The horizontal position of the end line, in twips.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">y2</span></td>
      <td><p>The vertical position of the end line, in twips.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
