TextRange.Clamp Method
Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit
Declaring Type: TextRange
Clamp the text range to a document length
public TextRange Clamp(int maxCodePointIndex);
Parameters
int maxCodePointIndex | The max code point index |
Returns
TextRange | A clamped TextRange |