Method SetFieldValue
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetFieldValue(int, int, object)
Sets what a cell with a field (SetFieldCode(int, int, int, string), SetFormula(int, int, int, string)) shows, as AutoCAD 2021 keeps the words a field came to in its cell: the value written as SetValue(int, int, object) writes one, a number a Double or Long, any other words a text, the cell's 344 left as it is, so that the field is still there to be evaluated again. Nothing is written where the cell shows that already.
public void SetFieldValue(int row, int column, object value)
Parameters
Exceptions
- ArgumentNullException
Thrown when the value is null.
- ArgumentOutOfRangeException
Thrown when the cell is not one of the table's, or a number is not finite.
- ArgumentException
Thrown when the value is of another type, or a text with a line break.
- InvalidOperationException
Thrown when the cell is a block cell or holds no field, or the table is erased.