Sunday, February 22, 2015

Open Feature Class Esri ArcObjects Snippets - Series

Esri ArcObjects Snippets - Series

Print Field Information of Feature Class


 // Opens feature Class from database  
      public void openfeatureclass(String workspacePath, String fcName){  
        try{  
                mxDoc = (IMxDocument) app.getDocument();  
                FileGDBWorkspaceFactory wsf = new FileGDBWorkspaceFactory();  
                Workspace work = new Workspace(wsf.openFromFile(workspacePath, 0));  
          IFeatureClass featureClass = work.openFeatureClass(fcName);  
          FeatureLayer layer = new FeatureLayer();  
          layer.setFeatureClassByRef(featureClass);  
          layer.setName(featureClass.getAliasName());  
          mxDoc.getFocusMap().addLayer(layer);  
        }  
        catch (Exception e){  
          e.printStackTrace();  
        }  
      }  


This code has been made using ESRI Resources and other Help Content and is provided here just for educational purpose.

2 comments:

  1. köp ketamin
    comprare la ketamina
    買氯胺酮
    ketamint vásárolni
    kupiti ketamin
    Ketamin kaufen
    comprar cetamina
    pirkti ketamino
    osta ketamiini
    osta ketamiini veebis
    pirkti ketamino internete
    comprar cetamina online
    kup ketaminę online
    Ketamin online kaufen
    comprar cetamina online
    купить кетамин онлайн
    kjøp ketamin online
    köp ketamin online
    buy online ketamine
    buy ketamine
    order ketamine online
    ut ketamine online
    beställ ketamin online
    bestill ketamin online
    заказать кетамин онлайн
    Ketamin online bestellen
    online ketamine bestellen
    pedir ketamina en línea




    call/text/<<<<<<<< +1(505)257-5355
    WICK...R>>>>>>ROBERTGREEN1020

    email...bcvsgea1124@gmail.com

    ReplyDelete



  2. Buy Crystal Meth online without prescription Text +1(707) 706-3298 where can i buy Crystal Meth online,buy Crystal Meth,Crystal Meth buy,Crystal Meth buy online,
    Whatsapp +1(707) 706-3298 Cheap Crystal Meth online,buy Crystal Meth Powder,buying Crystal Meth online,Crystal Meth for sale online
    Quality Crystal Meth Whatsapp.+1(707) 706-3298 Crystal Meth (Powder ) , then you have found the solution because we will not only offer you quality products at moderate prices,
    we will also offer the best delivery you can imagine with option of an overnight delivery Email.. coke4sale@protonmail.com

    ReplyDelete