NodeShape::Side Method (RectangleD)

 

Assigns a side of the shape to the port.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
[CLSCompliantAttribute(false)]
virtual VGGeneralDirection Side(
	RectangleD rectangle
)

Parameters

rectangle
Type: Microsoft.VisualStudio.Modeling.Diagrams::RectangleD

The bounding rectangle for the shape.

portRect

Rectangle of interest.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.GraphObject::VGGeneralDirection

The side of the shape to which the port was assigned.

Return to top
Show: