Property Transparency
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
Transparency
Gets or sets how much the entity lets show through it (group 440), as AutoCAD's Transparency: BYLAYER where the
record gives none, BYBLOCK, or an alpha from 0, clear, to 255, solid, as DxfTransparency says.
public DxfTransparency Transparency { get; set; }
Property Value
- DxfTransparency
Set, BYLAYER takes the group out; BYBLOCK or an alpha writes it, 0x01000000 or 0x020000TT, after the colour where AutoCAD writes it. The transparency the entity has changes nothing.
Exceptions
- ArgumentException
Thrown when the transparency set is an error value.
- InvalidOperationException
Thrown when the entity is erased, or a transparency is set on one of a file older than R2004 (AC1018), which has none.