Here it goes... Dim pDoc As IMxDocument Set pDoc = ThisDocument Dim pMap As IMap Set pMap = pDoc.FocusMap pDoc.ContentsView(0).AddToSelectedItems pMap.Layer(0) ' selects first layer in TOC pDoc.ContentsView(0).Refresh (0) ' Refresh TOCCheers.....
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.