Table of Contents

Method Fill

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Fill(CadDocument, string, DxfCellRange, DxfCellRange, DxfTableFillOptions)

Fills cells from others, as the autofill grip of a cell does: Fill(DxfCellRange, DxfCellRange, DxfTableFillOptions) in one undo step, "Autofill". A 1 in A3 filled down into A4 to A6 with GenerateSeries and CopyFormat, as Fill Series fills, gives 2, 3 and 4, as AutoCAD 2021 filled them.

public static CadEditResult Fill(CadDocument document, string handle, DxfCellRange fillRange, DxfCellRange sourceRange, DxfTableFillOptions options)

Parameters

document CadDocument

The document.

handle string

The table's handle.

fillRange DxfCellRange

The cells filled.

sourceRange DxfCellRange

The cells filled from.

options DxfTableFillOptions

How, of the flags of DxfTableFillOptions.

Returns

CadEditResult

What came of it: refused where a range is not all of the table, or the fill range holds rows (columns, along the rows) of the source.