Table of Contents

Method RemoveStyle

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

RemoveStyle(string)

Takes a style out of a named table, as Delete Style of the editor does.

public bool RemoveStyle(string name)

Parameters

name string

The name, letters of either case the same.

Returns

bool

Whether the table had it.

Exceptions

InvalidOperationException

Thrown when the table is a colour-dependent one, or the style is Normal.