ILayer l = ArcMap.Document.FocusMap.get_Layer(0); IFeatureClass fc = ((IFeatureLayer)l).FeatureClass; IFeatureCursor fCur = fc.Search(null, false); IFeature f = fCur.NextFeature(); IRasterValue2 rastVal = (IRasterValue2)f.get_Value(f.Fields.FindField("Raster")); IRaster r = rastVal.Raster;
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.