Table of Contents

Method MatchCell

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

MatchCell(CadDocument, string, int, int, string, DxfCellRange)

Matches cells to another, as Match Cell does: the look of the source cell (its alignment, text height, style and colour, fill, borders and data format) given each cell of the range, their contents kept; one undo step.

public static CadEditResult MatchCell(CadDocument document, string sourceHandle, int sourceRow, int sourceColumn, string handle, DxfCellRange range)

Parameters

document CadDocument

The document.

sourceHandle string

The handle of the table the cell matched from is in.

sourceRow int

Its row, from nought.

sourceColumn int

Its column, from nought.

handle string

The handle of the table matched.

range DxfCellRange

The cells matched.

Returns

CadEditResult

What came of it; refused where a cell matched is locked in its format.