更新重影形状的集合,使其符合源形状的组区域规则。
命名空间: Microsoft.VisualStudio.Modeling.Diagrams
程序集: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
语法
声明
Public Overridable Sub GetCompliantGroupBounds ( _
targetShape As ShapeElement, _
ghostShapes As GhostShapeCollection, _
proposedLocationDelta As PointD _
)
public virtual void GetCompliantGroupBounds(
ShapeElement targetShape,
GhostShapeCollection ghostShapes,
PointD proposedLocationDelta
)
参数
- targetShape
类型:Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
父形状或 nullnull 引用(在 Visual Basic 中为 Nothing) ,则该子形状在关系图中未指派给它,但是重新定位。
- ghostShapes
类型:Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection
重影形状的集合。
- proposedLocationDelta
类型:Microsoft.VisualStudio.Modeling.Diagrams.PointD
重影形状的增量。
备注
如果形状具有组不限制规则,关系图的规则使用。
重影形状在其关系图的原始位置表示父形状。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。