Exemplo n.º 1
0
 /// <summary>
 /// Get attribute value of element at the given x,y location by given key.<br/>
 /// If more than one element exist with the attribute at the location the inner most is returned.
 /// </summary>
 /// <param name="location">the location to find the attribute at</param>
 /// <param name="attribute">the attribute key to get value by</param>
 /// <returns>found attribute value or null if not found</returns>
 public string GetAttributeAt(Point location, string attribute)
 {
     return(_htmlContainerInt.GetAttributeAt(Utils.Convert(location), attribute));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Get attribute value of element at the given x,y location by given key.<br/>
 /// If more than one element exist with the attribute at the location the inner most is returned.
 /// </summary>
 /// <param name="location">the location to find the attribute at</param>
 /// <param name="attribute">the attribute key to get value by</param>
 /// <returns>found attribute value or null if not found</returns>
 public string GetAttributeAt(RPoint location, string attribute)
 {
     return(_htmlContainerInt.GetAttributeAt(location, attribute));
 }