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
documentCadDocumentThe document.
handlestringThe table's handle.
rowintThe first row, from nought.
heightsIReadOnlyList<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.