RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox.Documents Namespace / C1TextPointer Class / GetPositionAtOffset Method / GetPositionAtOffset(Int32) Method
The offset.

In This Topic
    GetPositionAtOffset(Int32) Method
    In This Topic
    Equivalent to GetPositionAtOffset(Int32,Predicate<Tag>) with null as tagFilter.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetPositionAtOffset( _
       ByVal offset As Integer _
    ) As C1TextPointer
    public C1TextPointer GetPositionAtOffset( 
       int offset
    )

    Parameters

    offset
    The offset.

    Return Value

    A new position at the offset indicated, or null if the offset goes off the document.
    See Also