Содержание

GetElementRect

Gets the rectangle that contains element.

Syntax

function GetElementRect(aElement: TCSElement): TCSRect;

Parameters

Returned value

Notes

Examples

  1. //Loading page google.ru
    LoadURI('google.ru');
    //Obtain element (request input field)
    var element:=GetElement('input',0,['class','id'],['gbqfif','gbqfq'],true);
    //Obtain the coordinates of the element rectangle
    var rect:=GetElementRect(element);