| Maptitude GISDK Help |
Closes the window containing the .NET control.
Added to Version 6.0/2012.
CloseDotNetControl(string name)
| Argument | Contents |
|---|---|
| name | The name of the .NET control window |
The control is closed without executing the close macro.
window = CreateDotNetControl("Web", "System.Windows.Forms",
"System.Windows.Forms.WebBrowser",)
CloseDotNetControl(window)
| Error Type | Meaning |
|---|---|
| NotFound | A .NET window was not found by that name |
| Function | Summary |
|---|---|
| ConvertManagedObjectType() | Access a .NET object using a different interface type |
| CreateDotNetControl() | Creates a new .NET control window |
| CreateManagedObject() | Creates a new instance of a .NET Object |
| GetDotNetControlObject() | Gets the .NET object in a .NET control window |
| GetManagedClass() | Gets a reference to a .NET Type in order to access static properties and methods |
| SetDotNetControlTitle() | Sets the title of a .NET control window |
| ©2025 Caliper Corporation | www.caliper.com |