Click or drag to resize
CEMAPGetWindowPosition Method
Get the map window's position and dock 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 void GetWindowPosition(
	ref int left,
	ref int top,
	ref int right,
	ref int bottom,
	ref int state,
	ref int is_floating
)

Parameters

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>EMAP_WINDOW_STATE</define>
is_floating
Type: SystemInt32
Docked or floating <define>EMAP_WINDOW_POSITION</define>
See Also