public void StartHotRegion(object obj)
        {
            IImageMapProvider imageMapProvider = obj as IImageMapProvider;

            if (imageMapProvider != null)
            {
                RenderingObject.BeginSelection(imageMapProvider.GetHref(), imageMapProvider.GetToolTip());
            }
        }
Example #2
0
        internal void StartHotRegion(DataPoint point, bool labelRegion)
        {
            string empty = string.Empty;
            string text  = labelRegion ? point.LabelToolTip : point.ToolTip;

            empty = (labelRegion ? point.LabelHref : point.Href);
            if (empty.Length > 0 || text.Length > 0)
            {
                RenderingObject.BeginSelection(point.ReplaceKeywords(empty), point.ReplaceKeywords(text));
            }
        }
Example #3
0
        /// <summary>
        /// This method starts SVG Selection mode
        /// </summary>
        /// <param name="point">Data Point which properties are used for SVG selection</param>
        /// <param name="labelRegion">Indicates if point label region is processed.</param>
        internal void StartHotRegion(DataPoint point, bool labelRegion)
        {
            string hRef    = string.Empty;
            string tooltip = (labelRegion) ? point.LabelToolTip : point.ToolTip;

            if (hRef.Length > 0 || tooltip.Length > 0)
            {
                RenderingObject.BeginSelection(
                    point.ReplaceKeywords(hRef),
                    point.ReplaceKeywords(tooltip));
            }
        }
 public void BeginSelection(string hRef, string title)
 {
     RenderingObject.BeginSelection(hRef, title);
 }
 /// <summary>
 /// This method starts SVG Selection mode
 /// </summary>
 /// <param name="url">The location of the referenced object, expressed as a URI reference.</param>
 /// <param name="title">Title which could be used for tooltips.</param>
 internal void StartHotRegion(string url, string title)
 {
     RenderingObject.BeginSelection(url, title);
 }
Example #6
0
 internal void StartHotRegion(string href, string title)
 {
     RenderingObject.BeginSelection(href, title);
 }