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)
Syntax
'Declaration
Public Function FindFreeArea ( _
freeArea As RectangleD _
) As PointD
public PointD FindFreeArea(
RectangleD freeArea
)
public:
PointD FindFreeArea(
RectangleD freeArea
)
member FindFreeArea :
freeArea:RectangleD -> PointD
public function FindFreeArea(
freeArea : RectangleD
) : PointD
Parameters
freeArea
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDThe bounding rectangle that represents the empty area.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
The center point in the empty area.
.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.