Could you share the Itoolcontrol implementation that you have done.
Public Overrides ReadOnly Property Enabled() As Boolean Get Dim i As Integer For i = 0 To pMap.LayerCount - 1 If TypeOf pMap.Layer(i) Is IRasterLayer Then MyBase.m_enabled = True Exit For Else MyBase.m_enabled = False End If Next i Return MyBase.Enabled End Get End Property
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.