ComponentOne RichTextBox for UWP
GetRectFromPosition Method (C1RichTextBox)

C1.Xaml.RichTextBox Namespace > C1RichTextBox Class : GetRectFromPosition Method
A C1.Xaml.RichTextBox.Documents.C1TextPointer.
Returns the Windows.Foundation.Rect of screen coordinates for a given position.
Syntax
'Declaration
 
Public Function GetRectFromPosition( _
   ByVal position As C1TextPointer _
) As Windows.Foundation.Rect
public Windows.Foundation.Rect GetRectFromPosition( 
   C1TextPointer position
)

Parameters

position
A C1.Xaml.RichTextBox.Documents.C1TextPointer.

Return Value

The Windows.Foundation.Rect of screen coordinates for a given position.
See Also

Reference

C1RichTextBox Class
C1RichTextBox Members