Table of Contents

Property Transparency

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Transparency

Gets or sets the transparency of the layer in the viewport, as AutoCAD's Transparency: the override, else the layer's.

public DxfTransparency Transparency { get; set; }

Property Value

DxfTransparency

Set, an alpha: the 50 per cent of AutoCAD's dialog, new DxfTransparency(127), is written as 440 of 33554559.

Exceptions

ArgumentException

Thrown when the transparency set is by layer, by block or an error value.

InvalidOperationException

Thrown when the layer or the viewport is erased or in no file, they are of two files, or the file is older than R2004 (AC1018), which has no transparency.