Gets the bounding rectangle of an existing element.
Visual Basic |
---|
Public Sub ElementGetBoundingRect( _ ByVal elementHandle As Long, _ ByRef left As Long, _ ByRef top As Long, _ ByRef right As Long, _ ByRef bottom As Long _ ) |
- elementHandle
- The handle of an element returned by the ElementCreate method.
- left
The address of a long to receive the left value of the bounding rectangle coordinates.
- top
The address of a long to receive the top value of the bounding rectangle coordinates.
- right
The address of a long to receive the right value of the bounding rectangle coordinates.
- bottom
The address of a long to receive the bottom value of the bounding rectangle coordinates.