Method RemoveContext
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
RemoveContext(string)
Takes a scale out of the list, as AutoCAD's RemoveContext: its SCALE erased with its entry of ACAD_SCALELIST.
The scale AutoCAD keeps is refused: the unit scale (290 of 1), the current scale (CurrentContext), and a
scale an object points at (the 340 of an annotative object's context, or any other hard pointer), as AutoCAD keeps a
scale in use.
public void RemoveContext(string contextName)
Parameters
contextNamestringThe name of the scale, letters of either case the same.
Exceptions
- ArgumentNullException
Thrown when the name is null.
- KeyNotFoundException
Thrown when the list has no scale of the name.
- InvalidOperationException
Thrown when the scale is the unit scale, the current scale, or one in use.