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)
Syntaxpublic void CentreOn(
double x,
double y,
double scale
)
Public Sub CentreOn (
x As Double,
y As Double,
scale As Double
)
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.
RemarksThis procedure is designed to handle rotated views.
See Also