Deletes the existing control identified by the unique index.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void RemoveControl(
int index
)
Parameters
- index Int32
-
Unique index of the control to be deleted.
Exceptions
| Exception | Condition |
|---|
| ArgumentException |
index is out of range of TemporaryGraphicsManager managed objects, or the indexed object has been removed from the document.
|
See Also
Reference