Constructor DxfBlockVisibilityState
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
DxfBlockVisibilityState(string, IEnumerable<DxfEntity>)
Makes a state of a name showing entities.
public DxfBlockVisibilityState(string name, IEnumerable<DxfEntity> entities)
Parameters
namestringThe name of the state, the value its property takes, as Cross.
entitiesIEnumerable<DxfEntity>The entities of the block shown in the state; none for a state that hides every entity of the other states.
Exceptions
- ArgumentNullException
Thrown when the name, the entities or one of them is null.
- ArgumentException
Thrown when the name is empty or holds a line break.