Gets the intersection rectangle of specified glyphs on this page and given text range.

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

Syntax

C#
public Rect Intersect(
	Glyphs glyphs,
	TextRange range
)
Visual Basic
Public Function Intersect ( _
	glyphs As Glyphs, _
	range As TextRange _
) As Rect
Visual C++
public:
Rect Intersect(
	Glyphs^ glyphs, 
	TextRange^ range
)

Parameters

glyphs
Type: System.Windows.Documents..::..Glyphs
The glyphs.
range
Type: FirstFloor.Documents..::..TextRange
The range.

Return Value

The intersection rectangle.

Remarks

If no intersection exists, the result is Empty.

See Also