Table of Contents

Method SetShadePlot

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetShadePlot(DxfShadePlotType, DxfDBObject)

Sets how the viewport is shaded when plotted, as AutoCAD's SetShadePlot: the type (group 170) and the visual style or preset of rendering it names (333), taken out for a type that names none.

public void SetShadePlot(DxfShadePlotType type, DxfDBObject shadePlot)

Parameters

type DxfShadePlotType

The type.

shadePlot DxfDBObject

The visual style or preset of rendering of the drawing, for those two types; null for the others.

Exceptions

ArgumentOutOfRangeException

Thrown when the type is none of the type.

ArgumentException

Thrown when a visual style or preset is given no object of the drawing, or another type is given one.

InvalidOperationException

Thrown when the viewport is erased, or is of a file older than R2004.