TextPointer.GetCharacterRect(LogicalDirection) TextPointer.GetCharacterRect(LogicalDirection) TextPointer.GetCharacterRect(LogicalDirection) TextPointer.GetCharacterRect(LogicalDirection) Method

Definition

Returns a bounding box for content that borders the current TextPointer in the specified logical direction.

public : Rect GetCharacterRect(LogicalDirection direction)
Rect GetCharacterRect(LogicalDirection direction) const;
public Rect GetCharacterRect(LogicalDirection direction)
Public Function GetCharacterRect(direction As LogicalDirection) As Rect

Parameters

direction
LogicalDirection 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.