Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- parentShapeDimensions 
 Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD- Only the width and height are used since the other parameter is relative. 
- childShapeRelativeBounds 
 Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD- relativeBounds of child with respect to parent 
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PortPlacement
PortPlacment
.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.