Click or drag to resize
CMVIEWScaleWindow Method
Assign view coordinates to define a window.

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 provided coordinates are converted to map mm using the current view translation and scaling. SetWindow is effectively called.
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
)

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
See Also