 | CMVIEWExtent Method |
Get the view extents
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic void Extent(
int what,
int unit,
ref double min_x,
ref double min_y,
ref double max_x,
ref double max_y
)
public void Extent(
int what,
int unit,
ref double min_x,
ref double min_y,
ref double max_x,
ref double max_y
)
Public Sub Extent (
what As Integer,
unit As Integer,
ByRef min_x As Double,
ByRef min_y As Double,
ByRef max_x As Double,
ByRef max_y As Double
)
Public Sub Extent (
what As Integer,
unit As Integer,
ByRef min_x As Double,
ByRef min_y As Double,
ByRef max_x As Double,
ByRef max_y As Double
)
public:
void Extent(
int what,
int unit,
double% min_x,
double% min_y,
double% max_x,
double% max_y
)
public:
void Extent(
int what,
int unit,
double% min_x,
double% min_y,
double% max_x,
double% max_y
)
member Extent :
what : int *
unit : int *
min_x : float byref *
min_y : float byref *
max_x : float byref *
max_y : float byref -> unit
member Extent :
what : int *
unit : int *
min_x : float byref *
min_y : float byref *
max_x : float byref *
max_y : float byref -> unit
Parameters
- what
- Type: SystemInt32
<define>MVIEW_EXTENT</define> - unit
- Type: SystemInt32
<define>MVIEW_EXTENT_UNIT</define> - min_x
- Type: SystemDouble
X minimum - min_y
- Type: SystemDouble
Y minimum - max_x
- Type: SystemDouble
X maximum - max_y
- Type: SystemDouble
Y maximum
Remarks
The CLIP region is the current view window or the limits
of the current clip polygon.
If <define>MVIEW_EXTENT_ALL</define> is requested and the view has no groups, the
clip extents are returned.
If clip extents are requested and there are no clip extents, an
area 0.0,0.0 1.0,1.0 is returned.
The <define>MVIEW_EXTENT_VISIBLE</define> flag will return the union of the <define>MVIEW_EXTENT_CLIP</define> area and the
extents of all non-masked visible groups in the view.
See Also