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

In This Topic
    GetRectFromPosition Method (C1RichTextViewManager)
    In This Topic
    Returns the System.Windows.Rect of document layout 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 document layout coordinates for a given position.
    See Also