An object of CompositeGraphicsLayer does not honor activeview refresh event when the layer is turned off.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM038237
已提交
September 5, 2008
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.3
编程语言
VBA
修正版本
10.0
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
Public Sub AddCompositeGraphicsLayer()Dim pMxD As IMxDocumentSet pMxD = ThisDocumentDim pMap As IMapDim pCLayer As ICompositeGraphicsLayerSet pCLayer = pMxD.FocusMap.ActiveGraphicsLayerDim pGLayer As IGraphicsLayerSet pGLayer = pCLayer.AddLayer("TEST", Nothing)pMxD.AddLayer pGLayerEnd Sub