RichTextBox for UWP | ComponentOne
C1.Xaml.RichTextBox Namespace / C1RichTextBox Class / GetRectFromPosition Method
A C1.Xaml.RichTextBox.Documents.C1TextPointer.

In This Topic
    GetRectFromPosition Method (C1RichTextBox)
    In This Topic
    Returns the Windows.Foundation.Rect of screen coordinates for a given position.
    Syntax
    'Declaration
     
    Public Function GetRectFromPosition( _
       ByVal position As C1TextPointer _
    ) As Rect
    public 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