Method SetDataFormat
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetDataFormat(int, int, string)
Sets the format of a cell's value, as AutoCAD's SetDataFormat(row, column, format): as SetFormat(int, int, string).
public void SetDataFormat(int row, int column, string format)
Parameters
rowintThe row, from nought.
columnintThe column, from nought.
formatstringThe format; empty for none.
Exceptions
- ArgumentNullException
Thrown when the format is null.
- ArgumentOutOfRangeException
Thrown when the cell is not one of the table's.
- ArgumentException
Thrown when the format has a line break in it.
- InvalidOperationException
Thrown when the cell holds no value, or the table is erased.
SetDataFormat(int, int, int, string)
Sets the format of a content of a cell, as AutoCAD's SetDataFormat(row, column, contentIndex, format): of its one content, nought, as SetFormat(int, int, string).
public void SetDataFormat(int row, int column, int contentIndex, string format)
Parameters
rowintThe row, from nought.
columnintThe column, from nought.
contentIndexintThe content, nought.
formatstringThe format; empty for none.
Exceptions
- ArgumentNullException
Thrown when the format is null.
- ArgumentOutOfRangeException
Thrown when the cell is not one of the table's, or the content is not nought.
- ArgumentException
Thrown when the format has a line break in it.
- InvalidOperationException
Thrown when the cell holds no value, or the table is erased.