Table of Contents

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

index int

The place, of a field.

shown string

The words the new field shows.

code string

The field in its markers.

Exceptions

ArgumentException

Thrown when the place holds no field or the code is not one in markers.