Method RemoveViewportOverrides
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
RemoveViewportOverrides(DxfViewport)
Takes out the overrides of the layer in one viewport, as AutoCAD's RemoveViewportOverrides: the viewport's list
of each XRECORD that holds one, an XRECORD left with none taken out with its entry; those of the other viewports kept.
Nothing where it has none there.
public void RemoveViewportOverrides(DxfViewport viewport)
Parameters
viewportDxfViewportThe viewport.
Exceptions
- ArgumentNullException
Thrown when the viewport is null.
- InvalidOperationException
Thrown when the layer is erased.