Property PlotStyleName
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
PlotStyleName
Gets or sets the name of the plot style of the layer, as AutoCAD's PlotStyleName: the entry of the drawing's plot
style names (ACAD_PLOTSTYLENAME) its group 390 points at, as Normal; empty where it points at none or the layer is
made in code and not added yet. A drawing plotted by colour (PlotStyleMode) names its
plot styles by the layer's colour (Color_30 for the colour 30), which the record does not keep: the entry it
points at is still Normal there.
public string PlotStyleName { get; set; }
Property Value
- string
Set, a name of the dictionary of plot style names, as Normal, written as the handle of its entry; the name the layer has changes nothing.
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 layer is erased or in no file, when the drawing plots by colour (PlotStyleMode), as AutoCAD answers ePlotStyleInColorDependentMode, or when the file is older than R2000 (AC1015), which has no plot styles of layers.