Method FreezeLayersInViewport
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
FreezeLayersInViewport(IEnumerable<DxfLayerTableRecord>)
Freezes layers in the viewport, as AutoCAD's FreezeLayersInViewport: each not frozen in it yet named after those
that are, by its handle (331), or by its name in the extended data of a file older than R2000; nothing where all are.
public void FreezeLayersInViewport(IEnumerable<DxfLayerTableRecord> layers)
Parameters
layersIEnumerable<DxfLayerTableRecord>The layers, of the viewport's drawing.
Exceptions
- ArgumentNullException
Thrown when the layers or one of them are null.
- ArgumentException
Thrown when a layer is not of the viewport's drawing, or is erased.
- InvalidOperationException
Thrown when the viewport is erased, or is in no drawing.