Table of Contents

Method RenameCellStyle

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

RenameCellStyle(string, string)

Renames a cell style a user made, as Rename does in Manage Cell Styles.

public void RenameCellStyle(string name, string newName)

Parameters

name string

The name of the cell style.

newName string

The new name.

Exceptions

ArgumentException

Thrown when the style has no such cell style of a user, or has one of the new name already.

InvalidOperationException

Thrown when the style is erased or not in a drawing.