Table of Contents

Method GetBlockAttributeValue

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetBlockAttributeValue(int, int, DxfAttributeDefinition)

Gets the value a block cell gives an attribute of its block, as AutoCAD's GetBlockAttributeValue: the 300 after the 331 that points at the definition, its escapes read as letters as TextString(int, int) reads them; null where the cell gives it none.

public string GetBlockAttributeValue(int row, int col, DxfAttributeDefinition attributeDefinition)

Parameters

row int

The row, from nought.

col int

The column, from nought.

attributeDefinition DxfAttributeDefinition

The definition, an ATTDEF of the cell's block.

Returns

string

The value, or null.

Exceptions

ArgumentNullException

Thrown when the definition is null.

ArgumentOutOfRangeException

Thrown when the cell is not one of the table's.