![](../icons/Help.png) | CGUIiGetAreaOfInterest Method (CGXNETCore, Double, Double, Double, Double, CPLY, CIPJ) |
Get the current area of interest from the application.
Available since Oasis montaj version: 5.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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
Depending on what is currently visible on screen and
the defined coordinate system the user may be prompted
by a warning and optionaly cancel the process.
Syntaxpublic static int iGetAreaOfInterest(
CGXNETCore gxNetShared,
ref double min_x,
ref double min_y,
ref double max_x,
ref double max_y,
CPLY ply,
CIPJ ipj
)
Public Shared Function iGetAreaOfInterest (
gxNetShared As CGXNETCore,
ByRef min_x As Double,
ByRef min_y As Double,
ByRef max_x As Double,
ByRef max_y As Double,
ply As CPLY,
ipj As CIPJ
) As Integer
public:
static int iGetAreaOfInterest(
CGXNETCore^ gxNetShared,
double% min_x,
double% min_y,
double% max_x,
double% max_y,
CPLY^ ply,
CIPJ^ ipj
)
static member iGetAreaOfInterest :
gxNetShared : CGXNETCore *
min_x : float byref *
min_y : float byref *
max_x : float byref *
max_y : float byref *
ply : CPLY *
ipj : CIPJ -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - min_x
- Type: SystemDouble
AOI Area Min X - min_y
- Type: SystemDouble
AOI Area Min Y - max_x
- Type: SystemDouble
AOI Area Max X - max_y
- Type: SystemDouble
AOI Area Max y - ply
- Type: GeoEngine.Core.GXNetXCPLY
AOI Bounding PLY (Filled if available, otherwise empty) - ipj
- Type: GeoEngine.Core.GXNetXCIPJ
AOI Bounding IPJ
Return Value
Type:
Int32<define>AOI_RETURN_STATE</define>
See Also