Method Map
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Map(IEnumerable<string>, string)
Map: maps layers of the drawing to a layer of the Translate To list; a layer mapped already is mapped again. Layer 0 and Defpoints are not mapped to another layer.
public int Map(IEnumerable<string> from, string to)
Parameters
fromIEnumerable<string>The names of the layers selected in the Translate From list.
tostringThe name of the layer selected in the Translate To list.
Returns
Exceptions
- ArgumentNullException
Thrown when the names or the layer are null.