In the EDN sample, a new world file does not affect the raster display even after reloading it in MapControl.
上次发布: August 25, 2014ArcGIS Engine
漏洞 ID 编号
NIM039383
已提交
October 17, 2008
上次修改时间
June 5, 2024
适用范围
ArcGIS Engine
找到的版本
9.3
编程语言
VC++
操作系统
Windows OS
操作系统版本
Vista
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
We apologize that we were unable to address this issue within the current product support cycle. If the issue continues to affect your work in a supported release, please contact Technical Support.
解决办法
Need to modify the RemoveLayer.vb file with the following code, Public Overrides Sub OnClick() Dim pLayer As ILayer pLayer = m_pMapControl.CustomProperty Dim datalayer As IDataLayer2 datalayer = pLayer datalayer.Disconnect() m_pMapControl.Map.DeleteLayer(pLayer) End Sub