Table of Contents

Property LightingUnits

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

LightingUnits

Gets or sets the units of lighting (LIGHTINGUNITS), as AutoCAD's LightingUnits: 0 generic, 1 American, 2 international; 2 where the drawing gives none.

public byte LightingUnits { get; set; }

Property Value

byte

Exceptions

ArgumentOutOfRangeException

Thrown when the value set is not 0, 1 or 2.

InvalidOperationException

Thrown when set in a file with no variables of the OBJECTS section to hold it.