Table of Contents

Method BeginGroup

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

BeginGroup(string)

Opens a group of edits that becomes one undo step when it is closed, as a command that draws line after line is one step. Groups nest; the outermost names the step. An edit of the group that fails takes the whole group back.

public void BeginGroup(string name)

Parameters

name string

The name of the step.

Exceptions

ArgumentNullException

Thrown when the name is null.