Click or drag to resize

CMVIEWScaleWindow Method

Assign view coordinates to define a window.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void ScaleWindow(
	double min_x,
	double min_y,
	double max_x,
	double max_y,
	double bot_x,
	double bot_y,
	double x_scal,
	double y_scal
)

public void ScaleWindow(
	double min_x,
	double min_y,
	double max_x,
	double max_y,
	double bot_x,
	double bot_y,
	double x_scal,
	double y_scal
)

Parameters

min_x
Type: SystemDouble
X minimum in view coordinates
min_y
Type: SystemDouble
Y minimum
max_x
Type: SystemDouble
X maximum
max_y
Type: SystemDouble
Y maximum
bot_x
Type: SystemDouble
X minimum in plot coordinates
bot_y
Type: SystemDouble
Y minimum
x_scal
Type: SystemDouble
Horizontal scale (view unit/plot unit in mm)
y_scal
Type: SystemDouble
Vertical scale
Remarks
The provided coordinates are converted to map mm using the current view translation and scaling. SetWindow is effectively called.
See Also