Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
MSDN on BoundingRectangle[^]

I can't understand this BoundingRectangle's meaning.
Such as (42, 538, 228, 117),is (x,y,width,height)?
Posted
Updated 26-Jun-13 19:07pm
v2

1 solution

It's the smallest possible rectangle, its sides in parallel to the co-ordinate system's axes, just large enough to enclose your AutomationElement of arbitrary shape.

And yes, the thing is of type System.Windows.Rect[^] and therefore has a constructor that takes four Double[^]s in the order you wrote. Plus four other overloads.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900