Click or drag to resize
CMVIEWExtent Method
Get the view extents

Available since Oasis montaj version: 5.0
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
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.
Syntax
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
See Also