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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for