Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

boundingTop property

Retrieves the distance between the top edge of the rectangle that bounds the TextRange object and the top side of the object that contains the TextRange.

Syntax

HRESULT value = object.get_boundingTop(* p);

Property values

Type: long

the top coordinate of the bounding rectangle, in pixels.

Remarks

Note  If the TextRange is inside a textArea object, add the value of the element's IHTMLElement2::scrollTop property to the value of IHTMLTextRangeMetrics::boundingTop.

See also

Reference
IHTMLTextRangeMetrics::boundingHeight
IHTMLTextRangeMetrics::boundingLeft
IHTMLTextRangeMetrics::boundingWidth

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.