| CGUIGetClientWindowArea Method |
Get the location of the oasis montaj client window.
Available since Oasis montaj version: 9.0.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.GXNetAssembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.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(
ref int i1,
ref int i2,
ref int i3,
ref int i4
)
Public Shared Sub GetClientWindowArea (
ByRef i1 As Integer,
ByRef i2 As Integer,
ByRef i3 As Integer,
ByRef i4 As Integer
)
public:
static void GetClientWindowArea(
int% i1,
int% i2,
int% i3,
int% i4
)
static member GetClientWindowArea :
i1 : int byref *
i2 : int byref *
i3 : int byref *
i4 : int byref -> unit
Parameters
- i1
- Type: SystemInt32
X Min returned (0) - i2
- Type: SystemInt32
Y Min returned (0) - i3
- Type: SystemInt32
X Max returned (width) - i4
- Type: SystemInt32
Y Max returned (height)
See Also