Table of Contents

Method SetPlotStyle

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

SetPlotStyle(CadDocument, string, string)

Gives a layer a plot style of the drawing's plot style names, as -LAYER PStyle and the Plot Style column do. Refused in a drawing plotted by colour, where AutoCAD names the plot style of a layer by its colour (Color_30) and takes no other, and for a name the drawing has not.

public static CadEditResult SetPlotStyle(CadDocument document, string name, string plotStyle)

Parameters

document CadDocument

The document.

name string

The layer's name.

plotStyle string

The plot style's name, as Normal, letters of either case the same.

Returns

CadEditResult

What came of it.