KeepInParentRule.GetMargin 方法

获取形状与关系图边界之间的最小边距,单位为世界单位。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

语法

声明
Protected Overridable Function GetMargin ( _
    shape As ShapeElement _
) As Double
protected virtual double GetMargin(
    ShapeElement shape
)

参数

返回值

类型:System.Double

.NET Framework 安全性

请参阅

参考

KeepInParentRule 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间