ComponentOne RichTextBox for WPF
C1.WPF.RichTextBox Namespace / C1RichTextBox Class / GetRectFromPosition Method
A C1.WPF.RichTextBox.Documents.C1TextPointer.

In This Topic
    GetRectFromPosition Method (C1RichTextBox)
    In This Topic
    Returns the System.Windows.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.WPF.RichTextBox.Documents.C1TextPointer.

    Return Value

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