View.SetToolTimerSettings Method
Thread safety: This method is not thread-safe and it should only be called from the GUI thread. Show
SetToolTimerSettings(System.Boolean enabled, System.Int32 interval)
Required when implementing an IMapControl supporting IToolTimerSink.Syntax
public void SetToolTimerSettings (
System.Boolean enabled,
System.Int32 interval
)
Parameters
enabled
Type: System.Boolean
Whether the internal tool timer mechanism for this view should be enabled. Map controls generally use True when a IToolTimerSink-tool/touch tool is used and False when a non-IToolTimerSink tool, like the built-in SDK tools, is used or when there is no tool.
Whether the internal tool timer mechanism for this view should be enabled. Map controls generally use True when a IToolTimerSink-tool/touch tool is used and False when a non-IToolTimerSink tool, like the built-in SDK tools, is used or when there is no tool.
interval
Type: System.Int32
An interval in milliseconds between tool updates.
An interval in milliseconds between tool updates.
Remarks
Note
Only to be called by an IMapControl implementation.
Platforms
Windows, Linux, Android