Table of Contents

Property ObscuredColor

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ObscuredColor

Gets or sets the colour lines hidden by others are drawn in ($OBSCOLOR), as AutoCAD's ObscuredColor: 0 by block, 1 to 255 a colour of the index, 256 by layer, 257 by entity; 257 where the header gives none.

public int ObscuredColor { get; set; }

Property Value

int

Exceptions

ArgumentOutOfRangeException

Thrown when the number set is not from 0 to 257.

InvalidOperationException

Thrown when set in a file older than R2004 (AC1018), which has no such variable.