Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

How to use ArcMap Existing Command in C# .Net(Arcobject).

$
0
0
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.

Viewing all articles
Browse latest Browse all 1374

Trending Articles