arcengine之基本操作
拉框放大:
axmap1.MousePointer = esriControlsMousePointer.esriPointerZoomIn; IEnvelope IEnvTrc; IEnvTrc = axmap1.TrackRectangle(); axmap1.Extent = IEnvTrc;
平移:
axmap1.MousePointer = esriControlsMousePointer.esriPointerPageZoomOut;
axmap1.Pan();
点击放大(缩小可以更改参数)
IEnvelope pEnvelope; pEnvelope = axmap1.Extent; pEnvelope.Expand(0.5, 0.5, true); axmap1.Extent = pEnvelope; axmap1.Refresh();