Table of Contents

Property PlotStyleName

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

PlotStyleName

Gets or sets the name of the plot style of the layer in the viewport, as AutoCAD's PlotStyleName: the entry of the drawing's plot style names (ACAD_PLOTSTYLENAME) the override names by handle, else the one the layer names (its group 390); empty where neither names one, as in a drawing plotted by colour.

public string PlotStyleName { get; set; }

Property Value

string

Set, a name of the dictionary of plot style names, as Normal, written by the handle of its entry.

Exceptions

ArgumentNullException

Thrown when the name set is null.

ArgumentException

Thrown when the drawing's dictionary of plot style names has no entry of the name set.

InvalidOperationException

Thrown when the drawing plots by colour (PlotStyleMode), as AutoCAD answers ePlotStyleInColorDependentMode; when the layer or the viewport is erased or in no file, they are of two files, or the file is older than R2000 (AC1015).