Table of Contents

Method GetFieldCode

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetFieldCode(int, int, int)

Gets the code of the field a cell shows (its 344), as AutoCAD's GetFieldId then GetFieldCode() read it: \AcVar Login, or \AcExpr (A1+B1) for a formula; null for a cell that holds none, or whose field the drawing has not.

public string GetFieldCode(int row, int column, int contentIndex)

Parameters

row int

The row, from nought.

column int

The column, from nought.

contentIndex int

The content, nought.

Returns

string

The code, without its markers; or null.

Exceptions

ArgumentOutOfRangeException

Thrown when the cell is not one of the table's, or the content is not nought.