Diagram.GetCompliantGroupBounds Method

Updates the collection of ghost shapes so that it complies with the source shape's group bounds rules.

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

Syntax

声明
Public Overridable Sub GetCompliantGroupBounds ( _
    targetShape As ShapeElement, _
    ghostShapes As GhostShapeCollection, _
    proposedLocationDelta As PointD _
)
public virtual void GetCompliantGroupBounds(
    ShapeElement targetShape,
    GhostShapeCollection ghostShapes,
    PointD proposedLocationDelta
)
public:
virtual void GetCompliantGroupBounds(
    ShapeElement^ targetShape, 
    GhostShapeCollection^ ghostShapes, 
    PointD proposedLocationDelta
)
abstract GetCompliantGroupBounds : 
        targetShape:ShapeElement * 
        ghostShapes:GhostShapeCollection * 
        proposedLocationDelta:PointD -> unit 
override GetCompliantGroupBounds : 
        targetShape:ShapeElement * 
        ghostShapes:GhostShapeCollection * 
        proposedLocationDelta:PointD -> unit 
public function GetCompliantGroupBounds(
    targetShape : ShapeElement, 
    ghostShapes : GhostShapeCollection, 
    proposedLocationDelta : PointD
)

Parameters

Remarks

If a shape has no group bounds rules, the rules for the diagram are used.

Ghost shapes represent the parent shapes at their original locations in the diagram.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace