Share via


Port.GetChildPortPlacement Method (RectangleD, RectangleD)

PortPlacement Determining Logic is encapsulated in this 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
Public Overridable Function GetChildPortPlacement ( _
    parentShapeDimensions As RectangleD, _
    childShapeRelativeBounds As RectangleD _
) As PortPlacement
public virtual PortPlacement GetChildPortPlacement(
    RectangleD parentShapeDimensions,
    RectangleD childShapeRelativeBounds
)
public:
virtual PortPlacement GetChildPortPlacement(
    RectangleD parentShapeDimensions, 
    RectangleD childShapeRelativeBounds
)
abstract GetChildPortPlacement : 
        parentShapeDimensions:RectangleD * 
        childShapeRelativeBounds:RectangleD -> PortPlacement  
override GetChildPortPlacement : 
        parentShapeDimensions:RectangleD * 
        childShapeRelativeBounds:RectangleD -> PortPlacement
public function GetChildPortPlacement(
    parentShapeDimensions : RectangleD, 
    childShapeRelativeBounds : RectangleD
) : PortPlacement

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.PortPlacement
PortPlacment

.NET Framework Security

See Also

Reference

Port Class

GetChildPortPlacement Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace