Functions | |
| void | AxMap.LockWindow (MapWinGIS.tkLockMode LockMode) |
| Locks the window so that any changes will not be displayed until it is unlocked. | |
| void | AxMap.ZoomIn (double Percent) |
| Zooms the display in by the given factor. | |
| void | AxMap.ZoomOut (double Percent) |
| Zooms the display out by the specified factor. | |
| void | AxMap.ZoomToLayer (int LayerHandle) |
| Zooms the map display to the specified layer. | |
| void | AxMap.ZoomToMaxExtents () |
| Zooms the map to the maximum extents of all loaded layers. | |
| void | AxMap.ZoomToMaxVisibleExtents () |
| Zooms the map to the maximum extents of all loaded visible layers. | |
| int | AxMap.ZoomToPrev () |
| Zooms the map view to the previous extents if there are previous extents in the extents history. | |
| void | AxMap.ZoomToShape (int LayerHandle, int Shape) |
| Zooms the map display to the specified shape in the shapefile contained by the specified layer. | |
Properties | |
| bool | AxMap.DisableWaitCursor [get, set] |
| Gets or sets a boolean value which indicates whether a wait cursor will be displayed on map redraw. | |
| MapWinGIS.tkLockMode | AxMap.IsLocked [get, set] |
| Checks to see if the map is currently locked or not. | |
| double | AxMap.MouseWheelSpeed [get, set] |
| Gets or sets the speed of zooming with mouse wheel. | |
| bool | AxMap.SendMouseDown [get, set] |
| Gets or sets whether the map sends mouse down events. | |
| bool | AxMap.SendMouseMove [get, set] |
| Gets or sets whether the map sends mouse move events. | |
| bool | AxMap.SendMouseUp [get, set] |
| Gets or sets whether the map sends mouse up events. | |
| bool | AxMap.SendOnDrawBackBuffer [get, set] |
| Gets or sets a boolean value which indicates whether the map sends on draw back buffer events. | |
| bool | AxMap.SendSelectBoxDrag [get, set] |
| Gets or sets whether the map sends the SelectBoxDrag event. | |
| bool | AxMap.SendSelectBoxFinal [get, set] |
| Gets or sets whether the map sends the SelectBoxFinal event. | |
| bool | AxMap.TrapRMouseDown [get, set] |
| Gets or sets a boolean value which can affect the displaying of the context menus in client code by the right click. | |
| double | AxMap.ZoomPercent [get, set] |
| Gets or sets the factor by which to zoom the view of the map in or out. | |
Here is a list of properties and methods which affect the way a user interacts with the map. This module is a part of the documentation of AxMap class.
| void AxMap.LockWindow | ( | MapWinGIS.tkLockMode | LockMode | ) |
Locks the window so that any changes will not be displayed until it is unlocked.
This is very useful if you are making a large number of changes at once and don't want the map to be redrawn between each change. The changes of drawing options in the auxillary classes (Shapefile, Labels, etc) won't cause the redraw of the map even if it's not locked.
| LockMode | The state of the lock mode. |
| void AxMap.ZoomIn | ( | double | Percent | ) |
Zooms the display in by the given factor.
| Percent | The factor to zoom in by. |
| void AxMap.ZoomOut | ( | double | Percent | ) |
Zooms the display out by the specified factor.
| Percent | The factor to zoom out by. |
| void AxMap.ZoomToLayer | ( | int | LayerHandle | ) |
Zooms the map display to the specified layer.
| LayerHandle | The handle of the layer to zoom to. |
| void AxMap.ZoomToMaxExtents | ( | ) |
Zooms the map to the maximum extents of all loaded layers.
Layers which are not visible are still used to compute maximum extents.
| void AxMap.ZoomToMaxVisibleExtents | ( | ) |
Zooms the map to the maximum extents of all loaded visible layers.
Layers which are not visible are not used to compute maximum extents.
| int AxMap.ZoomToPrev | ( | ) |
Zooms the map view to the previous extents if there are previous extents in the extents history.
| void AxMap.ZoomToShape | ( | int | LayerHandle, |
| int | Shape | ||
| ) |
Zooms the map display to the specified shape in the shapefile contained by the specified layer.
| LayerHandle | The handle of the layer containing the shape to zoom to. |
| Shape | The index of the shape to zoom to. |
bool AxMap.DisableWaitCursor [get, set] |
Gets or sets a boolean value which indicates whether a wait cursor will be displayed on map redraw.
MapWinGIS.tkLockMode AxMap.IsLocked [get, set] |
Checks to see if the map is currently locked or not.
double AxMap.MouseWheelSpeed [get, set] |
Gets or sets the speed of zooming with mouse wheel.
The default values is 0.5. The values in 0.1 - 10.0 range are accepted. The value 1.0 will turn off the zooming by mouse wheel.
bool AxMap.SendMouseDown [get, set] |
Gets or sets whether the map sends mouse down events.
bool AxMap.SendMouseMove [get, set] |
Gets or sets whether the map sends mouse move events.
bool AxMap.SendMouseUp [get, set] |
Gets or sets whether the map sends mouse up events.
bool AxMap.SendOnDrawBackBuffer [get, set] |
Gets or sets a boolean value which indicates whether the map sends on draw back buffer events.
bool AxMap.SendSelectBoxDrag [get, set] |
Gets or sets whether the map sends the SelectBoxDrag event.
bool AxMap.SendSelectBoxFinal [get, set] |
Gets or sets whether the map sends the SelectBoxFinal event.
bool AxMap.TrapRMouseDown [get, set] |
Gets or sets a boolean value which can affect the displaying of the context menus in client code by the right click.
double AxMap.ZoomPercent [get, set] |
Gets or sets the factor by which to zoom the view of the map in or out.
1.7.6.1