Does anyone out there knows how to set the layer in the georeferencing toolbar. There is no information in the object models. Using ICommandItem ic = ArcMap.Application.Document.CommandBars.Find(uid, false, false) as ICommandItem; I found that type is georeferencing_Layerslistcontrol. Any ideas?
Tell me more
×
Geographic Information Systems Stack Exchange is a question and answer site for
cartographers, geographers and GIS professionals. It's 100% free, no registration required.
|
I am afraid you will not be able to do so. These commands are placed in the esriGeoreferenceUI library, for which the documentation states
After some investigation, I have found that there is also an extension (IExtension) running in ArcMap named "Georeferencing" (ProgId is esriGeoReferenceUI.RectifyExt, ClassId is {C50D33D1-DBED-11D3-B9BD-00C0F0567A4A}. I am quite sure this is the key place on which all the georefencing commands and tools operate, but its interfaces seem to be internal to the esriGeoreferenceUI library and are not exposed. |
|||
|
|
I had the same problem and this is how I solved it for ArcGIS 9.3.1 with VBA. The same way should work with ArcGIS 10 and .NET.
|
|||
|
|