![](../icons/Help.png) | CGUIGetWindowPosition Method |
Get the Oasis montaj window's position state
Available since Oasis montaj version: 9.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.
License: Available to anyone.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntaxpublic static void GetWindowPosition(
CGXNETCore gxNetShared,
ref int left,
ref int top,
ref int right,
ref int bottom,
ref int state
)
Public Shared Sub GetWindowPosition (
gxNetShared As CGXNETCore,
ByRef left As Integer,
ByRef top As Integer,
ByRef right As Integer,
ByRef bottom As Integer,
ByRef state As Integer
)
public:
static void GetWindowPosition(
CGXNETCore^ gxNetShared,
int% left,
int% top,
int% right,
int% bottom,
int% state
)
static member GetWindowPosition :
gxNetShared : CGXNETCore *
left : int byref *
top : int byref *
right : int byref *
bottom : int byref *
state : int byref -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - left
- Type: SystemInt32
Window left position - top
- Type: SystemInt32
Window top position - right
- Type: SystemInt32
Window right position - bottom
- Type: SystemInt32
Window bottom position - state
- Type: SystemInt32
Window state <define>WINDOW_STATE</define>
See Also