Modifies the text range collection by applying a clip of specified text range.

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

Syntax

C#
public static bool Clip(
	this Collection<TextRange> ranges,
	TextRange clip
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function Clip ( _
	ranges As Collection(Of TextRange), _
	clip As TextRange _
) As Boolean
Visual C++
[ExtensionAttribute]
public:
static bool Clip(
	Collection<TextRange^>^ ranges, 
	TextRange^ clip
)

Parameters

ranges
Type: System.Collections.ObjectModel..::..Collection<(Of <(<'TextRange>)>)>
The ranges.
clip
Type: FirstFloor.Documents..::..TextRange
The clip.

Return Value

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 Collection<(Of <(<'TextRange>)>)>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also