Port::GetChildPortPlacement Method (RectangleD, RectangleD)
Visual Studio 2015
PortPlacement Determining Logic is encapsulated in this method.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: virtual PortPlacement GetChildPortPlacement( RectangleD parentShapeDimensions, RectangleD childShapeRelativeBounds )
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
Show: