Public Sub x() Dim pMXDOC As IMxDocument Set pMXDOC = ThisDocument Dim pmap As IMap Set pmap = pMXDOC.FocusMap Dim pl As ILayer Set pl = pmap.Layer(0) Dim pTW2 As ITableWindow2 Set pTW2 = New TableWindow With pTW2 Set .Application = Application Set .Layer = pl .ShowAliasNamesInColumnHeadings = True .TableSelectionAction = esriSelectFeatures .Show True .ShowSelected = True End With End Sub
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.