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 problem is when i use m_editor.AbortOperation() in ObjectClassEvents_OnChange event, the user cant move the features but he can do edits on the shape.
Whene i use throw new Exception("Cannot edit feature") the user cant do any changes on the shape , but he can move the features.
How can i prevent the user from moving and shape editing.
void _ObjectClassEvents_OnChange(IObject obj) {
//m_editor.AbortOperation();
//throw new Exception("Cannot edit feature");
}