This member overrides GroupBoundsRules.GetCompliantGroupBounds(Store, ShapeElement, GhostShapeCollection, PointD).
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overrides Sub GetCompliantGroupBounds ( _
store As Store, _
targetShape As ShapeElement, _
ghostShapes As GhostShapeCollection, _
proposedLocationDelta As PointD _
)
'使用
Dim instance As GroupSnapToGridRule
Dim store As Store
Dim targetShape As ShapeElement
Dim ghostShapes As GhostShapeCollection
Dim proposedLocationDelta As PointD
instance.GetCompliantGroupBounds(store, _
targetShape, ghostShapes, proposedLocationDelta)
public override void GetCompliantGroupBounds(
Store store,
ShapeElement targetShape,
GhostShapeCollection ghostShapes,
PointD proposedLocationDelta
)
public:
virtual void GetCompliantGroupBounds(
Store^ store,
ShapeElement^ targetShape,
GhostShapeCollection^ ghostShapes,
PointD proposedLocationDelta
) override
public override function GetCompliantGroupBounds(
store : Store,
targetShape : ShapeElement,
ghostShapes : GhostShapeCollection,
proposedLocationDelta : PointD
)
Parameters
- store
Type: Microsoft.VisualStudio.Modeling.Store
- targetShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- ghostShapes
Type: Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection
- proposedLocationDelta
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
Permissions
- 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.