Table of Contents

Method StyleNameOf

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

StyleNameOf(string, string)

Gets the name of the plot style an entity on a layer has in a drawing of named plot styles: its own where it names one, else its layer's, else Normal.

public string StyleNameOf(string layer, string handle)

Parameters

layer string

The layer; null for none.

handle string

The entity's handle; null for none.

Returns

string

The style's name as the drawing spells it.