Property CurrentStyleSheet
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
CurrentStyleSheet
Gets or sets the name of the plot style table (group 7), as AutoCAD's CurrentStyleSheet, such as monochrome.ctb; empty where it has none.
public string CurrentStyleSheet { get; set; }
Property Value
- string
Set, as AutoCAD's
PlotSettingsValidator.SetCurrentStyleSheetsets it, to a name written as group 7, or empty for none:monochrome.ctbplots every colour black where AutoCAD opens the drawing. Only the name is written; the table is the plotter's to find. The name it has changes nothing.
Exceptions
- ArgumentNullException
Thrown when the name set is null.
- InvalidOperationException
Thrown when the settings are in no drawing, as a layout made in code before it is added, or are erased.