ActiveReports 8
Intersect Method
See Also 
GrapeCity.ActiveReports.Extensibility.v8 Assembly > GrapeCity.ActiveReports.Extensibility.Drawing Namespace > RectangleFEx Structure : Intersect Method

rect1
The first rectangle.
rect2
The second rectangle.

Glossary Item Box

Gets the intersection rectangle.

Syntax

Visual Basic (Declaration) 
Public Shared Function Intersect( _
   ByVal rect1 As RectangleFEx, _
   ByVal rect2 As RectangleFEx _
) As RectangleFEx
C# 
public static RectangleFEx Intersect( 
   RectangleFEx rect1,
   RectangleFEx rect2
)

Parameters

rect1
The first rectangle.
rect2
The second rectangle.

Return Value

The rectangle which represents intersection of provided rectangles.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also