Jaa


TextPointer.GetCharacterRect(LogicalDirection) Method

Definition

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