Table of Contents

Method SetRowHeights

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

SetRowHeights(CadDocument, string, int, IReadOnlyList<double>)

Sets the heights of rows, from one on, in one undo step, "Row Height", as a drag of a row's line does; a row is never lower than its text needs, grown back to it as the table is drawn anew.

public static CadEditResult SetRowHeights(CadDocument document, string handle, int row, IReadOnlyList<double> heights)

Parameters

document CadDocument

The document.

handle string

The table's handle.

row int

The first row, from nought.

heights IReadOnlyList<double>

The heights of it and the rows after it, each above nought.

Returns

CadEditResult

What came of it; nothing written where every height is as it was.