TextRangeExtensionsClip Method Document Toolkit Help
Modifies the text range collection by applying a clip of specified text range.

Namespace: FirstFloor.Documents
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: (

public static bool Clip(
	this Collection<TextRange> ranges,
	TextRange clip


Type: System.Collections.ObjectModelCollectionTextRange
The ranges.
Type: FirstFloor.DocumentsTextRange
The clip.

Return Value

Type: Boolean
A value indicating whether the text range collection has been modified

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type CollectionTextRange. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also