| Maptitude GISDK Help |
Gets the .NET object in a .NET control window
Added to Version 6.0/2012.
dotnet_object = GetDotNetControlObject(string name)
| Argument | Contents |
|---|---|
| name | The name of the .NET control window |
A .NET Object.
If name is null returns the interface for the control in the current window, or an error if the current window is not a .NET control window.
window = CreateDotNetControl("Web", "System.Windows.Forms",
"System.Windows.Forms.WebBrowser",)
browser = GetDotNetControlObject(window)
browser.Navigate("www.google.com")
| Error Type | Meaning |
|---|---|
| NotFound | A .NET window was not found by that name |
| Function | Summary |
|---|---|
| CloseDotNetControl() | Closes the window containing the .NET control |
| 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 |
| GetManagedClass() | Gets an object representing the .NET class for calling static methods |
| SetDotNetControlTitle() | Sets the title of a .NET control window |
| ©2025 Caliper Corporation | www.caliper.com |