FormattedText::BuildHighlightGeometry Method (Point, Int32, Int32)
Returns a Geometry object that represents the highlight bounding box for a specified substring of the formatted text.
Assembly: PresentationCore (in PresentationCore.dll)
The origin of the highlight region.
The index of the initial character the highlight bounds should be obtained for.
The number of characters the highlight bounds should contain.
The returned Geometry object contains only the bounding box of the highlighted text and does not contain any rendered text.
Available since 3.0