This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IW > IWindowPosition Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members that query or modify a window's position, size and state.
Description | ||
---|---|---|
Height | The height of the window. | |
Left | The distance between the internal left edge of the window and screen. | |
Move | Moves and optionally resizes the windows in a single function. | |
State | The state of the window. | |
Top | The distance between the internal top edge of the window and screen. | |
Width | The width of the window. |
CoClasses and Classes | Description |
---|---|
Application (esriArcCatalog) | Esri ArcCatalog Application. |
Application (esriArcGlobe) | Esri ArcGlobe Application. |
Application (esriArcMap) | Esri ArcMap Application |
Application (esriArcScene) | The 3D Modeling Application. |
CommandBar | CommandBar object. |
DockableWindow | DockableWindow object. |
ModelessFrame | Object that implements a ModelessFrame. |
The IWindowPosition interface has methods to move and resize a window. Any window object can implement this interface. All the ArcGIS application windows implement this interface.
You can do a type cast from the application object to IWindowPosition.
IWindowPosition windowPos=app as IWindowPosition
You can do a type cast from the application object to IWindowPosition.
Dim windowPos As IWindowPosition
windowPos=CType(app, IWindowPosition)