RectangleD.Intersect Method (RectangleD)
Replaces this RectangleD structure with the intersection of itself and the specified RectangleD structure.
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 Sub Intersect ( _
rectangle As RectangleD _
)
public void Intersect(
RectangleD rectangle
)
public:
void Intersect(
RectangleD rectangle
)
member Intersect :
rectangle:RectangleD -> unit
public function Intersect(
rectangle : RectangleD
)
Parameters
- rectangle
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The rectangle to intersect.
.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.