Esempio n. 1
0
 /// <summary>
 ///     Flashes to the specified feature.
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="hook">The application reference.</param>
 /// <returns>Returns <see cref="bool" /> representing <c>true</c> when the action was successful.</returns>
 public static bool Flash(this IFeature source, IApplication hook)
 {
     return(source.DoAction(hook, esriHookActions.esriHookActionsFlash));
 }
Esempio n. 2
0
 /// <summary>
 ///     Zooms to the specified feature.
 /// </summary>
 /// <param name="source">The source.</param>
 /// <param name="hook">The application reference.</param>
 /// <returns>Returns <see cref="bool" /> representing <c>true</c> when the action was successful.</returns>
 public static bool Zoom(this IFeature source, IApplication hook)
 {
     return(source.DoAction(hook, esriHookActions.esriHookActionsZoom));
 }