Click or drag to resize

CMVIEWScaleAllGroup Method

Scale all groups (except for GRID) in a view

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public void ScaleAllGroup(
	double xs,
	double ys
)

public void ScaleAllGroup(
	double xs,
	double ys
)

Parameters

xs
Type: SystemDouble
X scale
ys
Type: SystemDouble
Y scale
Remarks
X (and Y) scale is the ratio of the new dimension over the old dimension of a reference object. For example, if a horizontal straight line of 10m long becomes 20m, X scale should be 2. The view is then scaled back so that the view occupies the same area size as before. The view's clip area is updated as well.
See Also