Miner.Interop.Framework Assembly > Miner.Interop Namespace : IMMEditTask Interface |
'Declaration <TypeLibTypeAttribute(TypeLibTypeFlags.FOleAutomation)> <GuidAttribute("AD349930-2139-11D4-80D6-0050DA5BE899")> <InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> <ComImportAttribute()> Public Interface IMMEditTask
'Usage Dim instance As IMMEditTask
[TypeLibType(TypeLibTypeFlags.FOleAutomation)] [Guid("AD349930-2139-11D4-80D6-0050DA5BE899")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [ComImport()] public interface IMMEditTask
In our example, the edit task requires the user to interactively set the symbol's rotation angle of a new point feature. Use an edit task any time you want the user to interact with the map while adding a feature. The ArcFM Attribute Editor must know the shape of a new feature before it is added. For this reason, you must use the IMMEditTask interface with any edit tasks in addition to using ArcGIS's IEditTask Interface.
Order of Events:
User starts editing and selects a feature with an assigned Edit Task
Calls IEditTask::Activate
SetProposedGeometry checked
Calls OnSketchModified as user adds vertices
Calls FinishSketch
Calls SetProposedGeometry
User selects different feature
Calls IEditTask::Deactivate
Template Edit Tasks: When implementing IMMEditTask to create a template edit task, the interface does NOT call IMMEditTask::SetProposedGeometry. Rather, it calls IMMProposedObject2::SetProposedGeometry to allow the geometry to come from the template itself.
Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)
Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.
'Declaration <TypeLibTypeAttribute(TypeLibTypeFlags.FOleAutomation)> <GuidAttribute("AD349930-2139-11D4-80D6-0050DA5BE899")> <InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> <ComImportAttribute()> Public Interface IMMEditTask
'Usage Dim instance As IMMEditTask
[TypeLibType(TypeLibTypeFlags.FOleAutomation)] [Guid("AD349930-2139-11D4-80D6-0050DA5BE899")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] [ComImport()] public interface IMMEditTask
In our example, the edit task requires the user to interactively set the symbol's rotation angle of a new point feature. Use an edit task any time you want the user to interact with the map while adding a feature. The ArcFM Attribute Editor must know the shape of a new feature before it is added. For this reason, you must use the IMMEditTask interface with any edit tasks in addition to using ArcGIS's IEditTask Interface.
Order of Events:
User starts editing and selects a feature with an assigned Edit Task
Calls IEditTask::Activate
SetProposedGeometry checked
Calls OnSketchModified as user adds vertices
Calls FinishSketch
Calls SetProposedGeometry
User selects different feature
Calls IEditTask::Deactivate
Template Edit Tasks: When implementing IMMEditTask to create a template edit task, the interface does NOT call IMMEditTask::SetProposedGeometry. Rather, it calls IMMProposedObject2::SetProposedGeometry to allow the geometry to come from the template itself.
Miner.Interop.IMMEditTask
Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)
Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.