![](../icons/Help.png) | CMVIEWTranScale Method |
Set the view translation and scaling
Available since Oasis montaj version: 5.0
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: 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.
Syntaxpublic void TranScale(
double x,
double y,
double xs,
double ys
)
Public Sub TranScale (
x As Double,
y As Double,
xs As Double,
ys As Double
)
public:
void TranScale(
double x,
double y,
double xs,
double ys
)
member TranScale :
x : float *
y : float *
xs : float *
ys : float -> unit
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