Click or drag to resize

CMVIEWExtent Method

Get the view extents

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public 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
)

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