Tagged Questions
0
votes
0answers
19 views
Problem with ObjectClassEvents_OnChange
I currently using ObjectClassEvents_OnChange event to prevent the user from make any changes on the features in ArcMap, i want to prevent the user from moving and edit the shape of the features.
The ...
2
votes
1answer
81 views
How to use IObjectClassEvents?
I need to use IObjectClassEvents in my project. I don't know how to start, can any one give me a simple explanation, or an example in C#.
2
votes
1answer
88 views
How to cancel the edit session?
I want to prevent the user from starting an edit session under certain conditions.
How can I do that?
void m_editEvents_OnStartEditing()
{
// Code
}
7
votes
3answers
2k views
ArcObjects (ArcGIS for Desktop and C#): How to cast between the ArcMap COM UI and my custom .Net UserControl objects?
I'm creating a utility to run in ArcGIS for Desktop using ArcObjects (9.3.1 SDK) and C#.Net. My prototype involves a toolbar with two comboboxes and a tool. The first combo selects a layer in the TOC, ...
3
votes
1answer
162 views
How to release Events
I want to use the OnCreateFeature-Event to combine it with other actions. So I use
Events.OnCreateFeature += delegate(IObject obj) { LoopTools_OnCreateFeature(obj); };
to listen to this event. ...