NodeShape::FindFreeArea Method (RectangleD)

 

Finds an empty area on the grid for the shape.

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

public:
PointD FindFreeArea(
	RectangleD freeArea
)

Parameters

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

The bounding rectangle that represents the empty area.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams::PointD

The center point in the empty area.

Return to top
Show: