Click or drag to resize

GenericSPPanHalfScreen Method

Pan half the screen width in a specified direction.

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 PanHalfScreen(
	string direction,
	int mapw,
	int maph
)

Parameters

direction
Type: SystemString
The direction to pan.
mapw
Type: SystemInt32
The width of the map, in pixels
maph
Type: SystemInt32
The height of the map, in pixels
Remarks
This procedure is designed to handle rotated views.

Supported directions are:

  • map directions "N", "E", "S", "W" which pan relative to the map,
  • "NE", "NW", "SE", "SW" likewise,
  • view directions "U", "D", "L", "R" which pan relative to the view,
  • "UL", "UR", DL", "DR" likewise.

See Also