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
documentCadDocumentThe document.
sourceHandlestringThe handle of the table the cell matched from is in.
sourceRowintIts row, from nought.
sourceColumnintIts column, from nought.
handlestringThe handle of the table matched.
rangeDxfCellRangeThe cells matched.
Returns
- CadEditResult
What came of it; refused where a cell matched is locked in its format.