![](../icons/Help.png) | CGUISetWindowPosition Method |
Get the Oasis montaj window's position and 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 SetWindowPosition(
CGXNETCore gxNetShared,
int left,
int top,
int right,
int bottom,
int state
)
Public Shared Sub SetWindowPosition (
gxNetShared As CGXNETCore,
left As Integer,
top As Integer,
right As Integer,
bottom As Integer,
state As Integer
)
public:
static void SetWindowPosition(
CGXNETCore^ gxNetShared,
int left,
int top,
int right,
int bottom,
int state
)
static member SetWindowPosition :
gxNetShared : CGXNETCore *
left : int *
top : int *
right : int *
bottom : int *
state : int -> 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