RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox.Documents Namespace / C1TextRange Class / C1TextRange Constructor / C1TextRange Constructor(C1TextElement,Int32,Int32)
The C1TextElement.
The start index.
The length of the range.

In This Topic
    C1TextRange Constructor(C1TextElement,Int32,Int32)
    In This Topic
    Initializes a C1TextRange from text indexes inside a C1TextElement.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal element As C1TextElement, _
       ByVal start As Integer, _
       ByVal length As Integer _
    )
    public C1TextRange( 
       C1TextElement element,
       int start,
       int length
    )

    Parameters

    element
    The C1TextElement.
    start
    The start index.
    length
    The length of the range.
    See Also