Diagram.GetCompliantGroupBounds 方法
命名空间: Microsoft.VisualStudio.Modeling.Diagrams
程序集: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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
ghost shapes 集合。
- proposedLocationDelta
类型:Microsoft.VisualStudio.Modeling.Diagrams.PointD
虚影形状的增量。
备注
如果形状具有组不限制规则,关系图的规则使用。
重影形状在其关系图的原始位置表示父形状。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。