PortPlacementHelper.FindEmptyPortPosition Method

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

Syntax

'宣言
Protected Overridable Function FindEmptyPortPosition ( _
    portShape As Port, _
    parentShape As NodeShape _
) As PointD
'使用
Dim portShape As Port
Dim parentShape As NodeShape
Dim returnValue As PointD

returnValue = Me.FindEmptyPortPosition(portShape, _
    parentShape)
protected virtual PointD FindEmptyPortPosition(
    Port portShape,
    NodeShape parentShape
)
protected:
virtual PointD FindEmptyPortPosition(
    Port^ portShape, 
    NodeShape^ parentShape
)
protected function FindEmptyPortPosition(
    portShape : Port, 
    parentShape : NodeShape
) : PointD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD

Permissions

See Also

Reference

PortPlacementHelper Class

PortPlacementHelper Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace