ComponentOne RichTextBox for WPF
C1.WPF.RichTextBox Namespace / C1RichTextBox Class / GetPositionFromPoint Method
A System.Windows.Point.

In This Topic
    GetPositionFromPoint Method (C1RichTextBox)
    In This Topic
    Returns the closest text position to a given point in the document layout.
    Syntax
    'Declaration
     
    
    Public Function GetPositionFromPoint( _
       ByVal point As Point _
    ) As C1TextPointer
    public C1TextPointer GetPositionFromPoint( 
       Point point
    )

    Parameters

    point
    A System.Windows.Point.

    Return Value

    The closest text position to a given point in the document layout.
    See Also