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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
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.RectangleD
The 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.