Click or drag to resize

CMVIEWFitWindow Method

Fit an area in ground coordinates to an area in mm on map.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void FitWindow(
	double m_min_x,
	double m_min_y,
	double m_max_x,
	double m_max_y,
	double v_min_x,
	double v_min_y,
	double v_max_x,
	double v_max_y
)

public void FitWindow(
	double m_min_x,
	double m_min_y,
	double m_max_x,
	double m_max_y,
	double v_min_x,
	double v_min_y,
	double v_max_x,
	double v_max_y
)

Parameters

m_min_x
Type: SystemDouble
X minimum (mm) of the area in map relative to map origin
m_min_y
Type: SystemDouble
Y minimum ..
m_max_x
Type: SystemDouble
X maximum ..
m_max_y
Type: SystemDouble
Y maximum ..
v_min_x
Type: SystemDouble
Min X in ground coordinate to fit to the area defined above
v_min_y
Type: SystemDouble
Min Y in ground coordinate ..
v_max_x
Type: SystemDouble
Max X in ground coordinate ..
v_max_y
Type: SystemDouble
Max Y in ground coordinate ..
Remarks
X and Y scales will be redefined and the units will be set to <unknown>. Coordinate ranges must be greater than 0.0.
See Also