Sub AnnoFeatureTest() Dim pMxDoc As IMxDocument Set pMxDoc = ThisDocument Dim pLayer As IFeatureLayer Set pLayer = pMxDoc.FocusMap.Layer(0) Dim featureType As esriFeatureType featureType = pLayer.FeatureClass.featureType If (featureType = esriFTAnnotation) Then Debug.Print "It's a feature annotation !" Else Debug.Print "It's some other feature type." End If End Sub
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.