Returns the object-relative rectangle of the specified text or an empty rectangle if the specified text does not exist.
result = anyWin.TextRectangle(text, [occurrence, searchRectangle, timeout, exactMatch])
|text||The text to be searched. String.|
|occurrence||Optional: For which occurrence of the text the existence should be checked, if there are multiple results. The first occurrence is 1. Integer.|
|searchRectangle||Optional: The object-relative rectangle in which to search the text. RECT.|
|timeout||Optional: Specifies the timeout before which the rectangle should be found.|
|exactMatch||Optional: If true the text must completely match the captured text, otherwise a partial match is allowed.|