Table of Contents

Method Rename

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Rename(CadDocument, string, string)

Renames a style with every text written in it, as the Text Style dialog's Rename; Standard keeps its name, as in AutoCAD.

public static CadEditResult Rename(CadDocument document, string name, string newName)

Parameters

document CadDocument

The document.

name string

The style's name.

newName string

The new name.

Returns

CadEditResult

What came of it.