大家可能會發現ArcMap默認的鼠標滾輪進行圖像放大縮小的操作,與其他平台(如百度地圖,AutoCAD等)的操作習慣相反,ArcMap的鼠標向上是縮小,向下是放大。可能會引起部分人操作不習慣。
因此,有必要更改一下系統的默認操作。
來看具體的方法:
打開ArcMap,在
ArcMap的Tool中找到Options打開。將Roll Forward/Drag Up 更改為Zooms In 就可以了。

使用AE進行二次開發也會碰到這樣的問題,如果軟件部署的機器上安裝了
ArcMap,通過上述方法進行設置就可以了。而如果沒有安裝
ArcMap,只安裝了Arcgis Engine runtime的話,需要通過代碼修改注冊表來實現。
private
void
ReverseMouseWheel()
{
try
{
RegistryKey
setKey =
Registry
.CurrentUser.OpenSubKey(
@"Software\ESRI\ArcMap\Settings"
,
true
);
if
(setKey !=
null
)
{
if
(setKey.GetValue(
"ReverseMouseWheel"
) ==
null
)
{
setKey.SetValue(
"ReverseMouseWheel"
, 0,
RegistryValueKind
.DWord);
}
else
if
(setKey.GetValue(
"ReverseMouseWheel"
).ToString() !=
"0"
)
{
setKey.SetValue(
"ReverseMouseWheel"
, 0);
}
}
}
catch
{ }
}