C1.Silverlight.RichTextBox.5
GetTextRange Method

Offset from the start of the document.
Length of the range in characters.
Gets a C1.Silverlight.RichTextBox.Documents.C1TextRange that represents a range in the current Document.
Syntax
'Declaration
 
Public Function GetTextRange( _
   ByVal start As System.Integer, _
   ByVal length As System.Integer _
) As C1TextRange
public C1TextRange GetTextRange( 
   System.int start,
   System.int length
)

Parameters

start
Offset from the start of the document.
length
Length of the range in characters.

Return Value

A C1.Silverlight.RichTextBox.Documents.C1TextRange that represents the requested range.
Remarks
You can use the C1.Silverlight.RichTextBox.Documents.C1TextRange returned to format parts of the document without moving the Selection.
See Also

Reference

C1RichTextBox Class
C1RichTextBox Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.