![](../icons/Help.png) | 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.GXNetXAssembly: 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.
Syntaxpublic static void GetClientWindowArea(
CGXNETCore gxNetShared,
ref int min_x,
ref int min_y,
ref int max_x,
ref int max_y
)
Public Shared Sub GetClientWindowArea (
gxNetShared As CGXNETCore,
ByRef min_x As Integer,
ByRef min_y As Integer,
ByRef max_x As Integer,
ByRef max_y As Integer
)
public:
static void GetClientWindowArea(
CGXNETCore^ gxNetShared,
int% min_x,
int% min_y,
int% max_x,
int% max_y
)
static member GetClientWindowArea :
gxNetShared : CGXNETCore *
min_x : int byref *
min_y : int byref *
max_x : int byref *
max_y : int byref -> unit
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