PortPlacementHelper.FindEmptyPortPosition Method
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Protected Overridable Function FindEmptyPortPosition ( _
portShape As Port, _
parentShape As NodeShape _
) As PointD
protected virtual PointD FindEmptyPortPosition(
Port portShape,
NodeShape parentShape
)
protected:
virtual PointD FindEmptyPortPosition(
Port^ portShape,
NodeShape^ parentShape
)
abstract FindEmptyPortPosition :
portShape:Port *
parentShape:NodeShape -> PointD
override FindEmptyPortPosition :
portShape:Port *
parentShape:NodeShape -> PointD
protected function FindEmptyPortPosition(
portShape : Port,
parentShape : NodeShape
) : PointD
Parameters
- portShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.Port
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.NodeShape
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
.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.