Click or drag to resize
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.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntax
public static void GetWindowPosition(
	CGXNETCore gxNetShared,
	ref int left,
	ref int top,
	ref int right,
	ref int bottom,
	ref int state
)

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