I want to create a feature layer from a layer (.lyr) file and add it to my ArcGIS map document programmatically. I am using C# and ArcGIS.
I have a layer file and a shapefile.
There's a snippet for this in the ArcObjects .NET SDK: Add Layer File to ActiveView Snippet
ESRI Catalog UI Object Library
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3 years ago
Get the weekly newsletter! In it, you'll get:
see an example newsletter