ComponentOne RichTextBox for WPF and Silverlight
GetPositionAtOffset(Int32) Method

C1.WPF.RichTextBox.Documents Namespace > C1TextPointer Class > GetPositionAtOffset Method : GetPositionAtOffset(Int32) Method
The offset.
Equivalent to GetPositionAtOffset(Int32,Predicate<Tag>) with null as tagFilter.
Syntax
'Declaration
 
Public Overloads Function GetPositionAtOffset( _
   ByVal offset As System.Integer _
) As C1TextPointer
public C1TextPointer GetPositionAtOffset( 
   System.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

Reference

C1TextPointer Class
C1TextPointer Members
Overload List