TextPointer.GetCharacterRect(LogicalDirection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a bounding box for content that borders the current TextPointer in the specified logical direction.
public:
virtual Rect GetCharacterRect(LogicalDirection direction) = GetCharacterRect;
Rect GetCharacterRect(LogicalDirection const& direction);
public Rect GetCharacterRect(LogicalDirection direction);
function getCharacterRect(direction)
Public Function GetCharacterRect (direction As LogicalDirection) As Rect
Parameters
- direction
- LogicalDirection
One of the LogicalDirection values that specifies the logical direction in which to find a content bounding box.
Returns
A Rect for content that borders the current TextPointer in the specified direction, or a Rect that evaluates as Empty if current and valid layout information is unavailable.