Method SetBlockAttributeValue
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetBlockAttributeValue(int, int, DxfAttributeDefinition, string)
Sets the value a block cell gives an attribute of its block, as AutoCAD's SetBlockAttributeValue: the 300 after
the 331 that points at the definition; the block AutoCAD drew the table with is not drawn anew.
public void SetBlockAttributeValue(int row, int col, DxfAttributeDefinition attributeDefinition, string value)
Parameters
rowintThe row, from nought.
colintThe column, from nought.
attributeDefinitionDxfAttributeDefinitionThe definition, an ATTDEF of the cell's block that the cell gives a value.
valuestringThe value.
Exceptions
- ArgumentNullException
Thrown when the definition or the value is null.
- ArgumentOutOfRangeException
Thrown when the cell is not one of the table's.
- ArgumentException
Thrown when the cell gives the definition no value, or the value has a line break.
- InvalidOperationException
Thrown when the table is erased.