RectangleD.Intersect Method (RectangleD, RectangleD)
Returns a RectangleD structure that represents the intersection of two rectangles. If there is no intersection, null is returned.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Shared Function Intersect ( _
first As RectangleD, _
second As RectangleD _
) As RectangleD
public static RectangleD Intersect(
RectangleD first,
RectangleD second
)
public:
static RectangleD Intersect(
RectangleD first,
RectangleD second
)
static member Intersect :
first:RectangleD *
second:RectangleD -> RectangleD
public static function Intersect(
first : RectangleD,
second : RectangleD
) : RectangleD
Parameters
- first
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
A rectangle to intersect.
- second
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
A rectangle to intersect.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.