Welcome Guest Search | Active Topics | Sign In | Register

Element at Point Options
Okyalos
Posted: Tuesday, January 20, 2015 5:33:43 PM
Rank: Newbie
Groups: Member

Joined: 1/20/2015
Posts: 2
Hi,

I am evaluating your WebBrowser product and I would like to know how I can get the element at a specific point (X,Y) similar to document.elementFromPoint(x,y). I noticed that the DOM.Document class does not have such method.

Thanks,
eo_support
Posted: Tuesday, January 20, 2015 5:40:58 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

You can either use WebView.EvalScript, or use document.InvokeFunction. We do not encapsulate every JavaScript function available to avoid duplicated interfaces. However everything that is not directly provided to you, you can always use EvalScript or InvokeFunction to call them. You can find more information about this here:

http://www.essentialobjects.com/doc/6/advanced/js.aspx#evalscript

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.