ComponentOne RichTextBox for WPF and Silverlight
Offset Property (C1TextPointer)

C1.WPF.RichTextBox.Documents Namespace > C1TextPointer Class : Offset Property
The offset inside of Element where the C1TextPointer is positioned.
Syntax
'Declaration
 
Public ReadOnly Property Offset As System.Integer
public System.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

Reference

C1TextPointer Class
C1TextPointer Members