Method GetFormula
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
GetFormula(int, int, int)
Gets the formula of a cell, as AutoCAD's GetFormula: the expression of the FIELD the cell's 344 points at, of
the evaluator AcExpr, or of the one field within a field of text (_text, its code %<_FldIdx 0>%)
that is one; its field code \AcExpr (A1+B1) is given as =A1+B1, a format after it (\f "%lu2")
left out. Null for a cell of no field, or of a field of another kind, as a date. A 344 that names no record of the
file, as AutoCAD 2021 wrote the formula of a linked cell (its 192, written in none), is read from the cell's field in
the table's TABLECONTENT, where AutoCAD keeps it (its 195 of \AcExpr (1+2)). The library does not work a
formula out: the cell's value is the one AutoCAD last wrote.
public string GetFormula(int row, int column, int contentIndex)
Parameters
rowintThe row, from nought.
columnintThe column, from nought.
contentIndexintThe content, nought.
Returns
- string
The formula, from its
=, or null.
Exceptions
- ArgumentOutOfRangeException
Thrown when the cell is not one of the table's, or the content is not nought.