RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox.Documents Namespace / C1TextPointer Class / Offset Property

In This Topic
    Offset Property (C1TextPointer)
    In This Topic
    The offset inside of Element where the C1TextPointer is positioned.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property Offset As Integer
    public int Offset {get;}
    Remarks

    If Element has children then the C1TextPointer is positioned before the child whose index equals Offset, or after the last child if Offset equals the number of children.

    If Element doesn't have children, then the meaning of Offset depends on the type of Element. For example, in C1Run it indicates a position inside the text.

    See Also