Method ReplaceField
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
ReplaceField(int, string, string)
Gives the field a place holds another code and words, as Edit Field does; its look kept.
public void ReplaceField(int index, string shown, string code)
Parameters
indexintThe place, of a field.
shownstringThe words the new field shows.
codestringThe field in its markers.
Exceptions
- ArgumentException
Thrown when the place holds no field or the code is not one in markers.