Hi All,
My name is Madan Burathi, I am new in Arcobject can any one please tell me how convert following VBA code to C# code.
Actually my intention is how to use Arcmap existing commands in .Net Environment. It will be a great help.
Dim pCommandItem As ICommandItem
Set pCommandItem = ThisDocument.CommandBars.Find(ArcID.Query_ZoomToSelected)
If (pCommandItem Is Nothing) Then Exit Sub
pCommandItem.Execute
Regards
Madan Burathi
Software Developer.
My name is Madan Burathi, I am new in Arcobject can any one please tell me how convert following VBA code to C# code.
Actually my intention is how to use Arcmap existing commands in .Net Environment. It will be a great help.
Dim pCommandItem As ICommandItem
Set pCommandItem = ThisDocument.CommandBars.Find(ArcID.Query_ZoomToSelected)
If (pCommandItem Is Nothing) Then Exit Sub
pCommandItem.Execute
Regards
Madan Burathi
Software Developer.