Click or drag to resize
CGUIGetClientWindowArea Method
Get the location of the Oasis montaj client window.

Available since Oasis montaj version: 9.0
License: Available to anyone with an Oasis Montaj license.  
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
Returns the coordinates of the client window area (where MDI document windows are placed). The returned coordinates are 0,0 for the minimum X and Y and the window width width and height for the maximum X and Y.
Syntax
public static void GetClientWindowArea(
	CGXNETCore gxNetShared,
	ref int min_x,
	ref int min_y,
	ref int max_x,
	ref int max_y
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
min_x
Type: SystemInt32
X Min returned (0)
min_y
Type: SystemInt32
Y Min returned (0)
max_x
Type: SystemInt32
X Max returned (width)
max_y
Type: SystemInt32
Y Max returned (height)
See Also