Table of Contents

Method AddSubset

Namespace
OpenCAD2D.SheetSets
Assembly
OpenCAD2D.Core.dll

AddSubset(string, string, int)

Adds a subset to this group.

public CadSheetSubset AddSubset(string name, string description = null, int index = -1)

Parameters

name string

The name.

description string

The description, or null for none.

index int

The place among the subsets and sheets of this group; -1 for the end.

Returns

CadSheetSubset

The new subset.

Exceptions

ArgumentNullException

Thrown when the name is null.

ArgumentOutOfRangeException

Thrown when the place is not -1 or from 0 to the count of children.

InvalidOperationException

Thrown outside Change(Action<CadSheetSet>).