# FarPoint.Win.Spread.UndoRedo.ClipboardPasteUndoAction.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_UndoRedo_ClipboardPasteUndoAction__ctor_" data-uid="FarPoint.Win.Spread.UndoRedo.ClipboardPasteUndoAction.#ctor*">ClipboardPasteUndoAction Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_UndoRedo_ClipboardPasteUndoAction__ctor_" data-uid="FarPoint.Win.Spread.UndoRedo.ClipboardPasteUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_UndoRedo_ClipboardPasteUndoAction__ctor" data-uid="FarPoint.Win.Spread.UndoRedo.ClipboardPasteUndoAction.#ctor">ClipboardPasteUndoAction()</h4>
<div class="markdown level1 summary"><p>Creates a new undo action for a Clipboard paste operation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ClipboardPasteUndoAction()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="FarPoint_Win_Spread_UndoRedo_ClipboardPasteUndoAction__ctor_" data-uid="FarPoint.Win.Spread.UndoRedo.ClipboardPasteUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_UndoRedo_ClipboardPasteUndoAction__ctor_FarPoint_Win_Spread_ClipboardPasteOptions_" data-uid="FarPoint.Win.Spread.UndoRedo.ClipboardPasteUndoAction.#ctor(FarPoint.Win.Spread.ClipboardPasteOptions)">ClipboardPasteUndoAction(ClipboardPasteOptions)</h4>
<div class="markdown level1 summary"><p>Creates a new undo action for a Clipboard paste operation using the specified paste option.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ClipboardPasteUndoAction(ClipboardPasteOptions pasteOption)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(pasteOption As ClipboardPasteOptions)</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="FarPoint.Win.Spread.ClipboardPasteOptions.html">ClipboardPasteOptions</a></td>
      <td><span class="parametername">pasteOption</span></td>
      <td><p>ClipboardPasteOptions</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_UndoRedo_ClipboardPasteUndoAction__ctor_" data-uid="FarPoint.Win.Spread.UndoRedo.ClipboardPasteUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_UndoRedo_ClipboardPasteUndoAction__ctor_FarPoint_Win_Spread_SheetView_FarPoint_Win_ElementWindowless_" data-uid="FarPoint.Win.Spread.UndoRedo.ClipboardPasteUndoAction.#ctor(FarPoint.Win.Spread.SheetView,FarPoint.Win.ElementWindowless)">ClipboardPasteUndoAction(SheetView, ElementWindowless)</h4>
<div class="markdown level1 summary"><p>Creates a new undo action for a Clipboard paste of the specified shape to the specified sheet.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ClipboardPasteUndoAction(SheetView sheetView, ElementWindowless shape)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(sheetView As SheetView, shape As ElementWindowless)</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="FarPoint.Win.Spread.SheetView.html">SheetView</a></td>
      <td><span class="parametername">sheetView</span></td>
      <td><p>Sheet</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win/FarPoint.Win.ElementWindowless.html">ElementWindowless</a></td>
      <td><span class="parametername">shape</span></td>
      <td><p>Shape</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_UndoRedo_ClipboardPasteUndoAction__ctor_" data-uid="FarPoint.Win.Spread.UndoRedo.ClipboardPasteUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_UndoRedo_ClipboardPasteUndoAction__ctor_FarPoint_Win_Spread_SheetView_System_Int32_System_Int32_System_Int32_System_Int32_FarPoint_Win_Spread_ClipboardPasteOptions_" data-uid="FarPoint.Win.Spread.UndoRedo.ClipboardPasteUndoAction.#ctor(FarPoint.Win.Spread.SheetView,System.Int32,System.Int32,System.Int32,System.Int32,FarPoint.Win.Spread.ClipboardPasteOptions)">ClipboardPasteUndoAction(SheetView, int, int, int, int, ClipboardPasteOptions)</h4>
<div class="markdown level1 summary"><p>Creates a new undo action for a Clipboard paste to the specified range in the specified sheet using the specified SheetView, cell range, and paste option.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ClipboardPasteUndoAction(SheetView sheetView, int row, int column, int rowCount, int columnCount, ClipboardPasteOptions pasteOption)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(sheetView As SheetView, row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, pasteOption As ClipboardPasteOptions)</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="FarPoint.Win.Spread.SheetView.html">SheetView</a></td>
      <td><span class="parametername">sheetView</span></td>
      <td><p>SheetView</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">row</span></td>
      <td><p>Row index</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column</span></td>
      <td><p>Column index</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowCount</span></td>
      <td><p>Number of rows</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnCount</span></td>
      <td><p>Number of columns</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.ClipboardPasteOptions.html">ClipboardPasteOptions</a></td>
      <td><span class="parametername">pasteOption</span></td>
      <td><p>ClipboardPasteOptions</p>
</td>
    </tr>
  </tbody>
</table>
</div>
