Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

GetBounds

« nsIAccessible Page

Summary

This method returns accessible's (x and y) coordinates relative to the screen and accessible's width and height.

 void getBounds(
   out long aX, 
   out long aY, 
   out long aWidth, 
   out long aHeight
 )

Parameters

aX
[out] Accessible's X-coordinate.
aY
[out] Accessible's Y-coordinate.
aWidth
[out] Accessible's width.
aHeight
[out] Accessible's height.

  

Document Tags and Contributors

 Contributors to this page: teoli, Surkov.alexander
 Last updated by: teoli,