Method CanRemoveContext
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
CanRemoveContext(string)
Gets whether RemoveContext(string) would take a scale out: the list has it, and it is not the unit scale, the current scale or one an object points at. AutoCAD's -SCALELISTEDIT answers "Scale 1:1 is referenced so it cannot be deleted." for one it keeps, and its Delete * takes out every one this gives true for.
public bool CanRemoveContext(string contextName)
Parameters
contextNamestringThe name of the scale, letters of either case the same.
Returns
- bool
Whether it can be taken out; false for a name the list has not.
Exceptions
- ArgumentNullException
Thrown when the name is null.