Click or drag to resize

GenericSPCentreOn Method

Centre the view extents on the given point, optionally changing scale.

Namespace:  Cadcorp.GFB.CadcorpSP
Assembly:  Cadcorp.GFB.GenericStoredProcedures (in Cadcorp.GFB.GenericStoredProcedures.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntax
public void CentreOn(
	double x,
	double y,
	double scale
)

Parameters

x
Type: SystemDouble
The x coordinate of the new centre.
y
Type: SystemDouble
The y coordinate of the new centre.
scale
Type: SystemDouble
The new map scale to zoom to. If 0 or negative, this is ignored no zoom takes place.
Remarks
This procedure is designed to handle rotated views.
See Also