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
0answers
46 views
How to prevent the user from moving the feature?
I want to prevent the user from moving the feature in ArcMap when editing.
I used OnChangeFeature event but it does not work.
void m_editEvents_OnChangeFeature(IObject obj)
{
...
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
}