Click or drag to resize
CMVIEWTranScale Method
Set the view translation and scaling

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
Warning. For reasons unknown (and maybe a bug), this function resets the view IPJ units. It is a good idea to call the SetUnits_IPJ function after calling this function in order to restore them. This will be addressed in v6.4.
Syntax
public void TranScale(
	double x,
	double y,
	double xs,
	double ys
)

Parameters

x
Type: SystemDouble
X origin (user X to be placed at map 0)
y
Type: SystemDouble
Y origin (user Y to be placed at map 0)
xs
Type: SystemDouble
X mm/user unit
ys
Type: SystemDouble
Y mm/user unit
See Also