Table of Contents

Method Paste

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Paste(CadDocument, string, DxfCellRange, CadTableCellClip)

Pastes cells at the top left cell of a range, as Paste does: each cell given the content and the look of the one copied (a number with its format, words as they were typed, a block with its scale and attribute values, a field, a formula with its references moved by the rows and columns it moved), the merges within the cells copied made again and those the paste meets taken out. A range of whole multiples of the cells copied is filled with them side by side. What falls past the table's last row or column is left out. One undo step; refused where a cell pasted over is locked.

public static CadEditResult Paste(CadDocument document, string handle, DxfCellRange range, CadTableCellClip clip)

Parameters

document CadDocument

The document.

handle string

The table's handle.

range DxfCellRange

Where: its top left cell is where the cells go, its size how often.

clip CadTableCellClip

The cells.

Returns

CadEditResult

What came of it.