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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro