Property Transparency
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
Transparency
Gets or sets how much the layer's entities by layer let show through them, as AutoCAD's Transparency, kept as
AutoCAD keeps it: the 1071 of the layer's extended data of the application AcCmTransparency, 0x020000TT; solid,
the alpha 255, where it has none.
public DxfTransparency Transparency { get; set; }
Property Value
- DxfTransparency
Set, an alpha: the 50 per cent of AutoCAD's dialog,
new DxfTransparency(127), is written as1001 AcCmTransparency, 1071 33554559; solid takes the application's data out. The transparency the layer has changes nothing.
Exceptions
- ArgumentException
Thrown when the transparency set is by layer, by block or an error value, which a layer does not take.
- InvalidOperationException
Thrown when the layer is erased, or a transparency other than solid is set on a layer of a file older than R2004 (AC1018), which has none.