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
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.