KeepInParentRule.GetMargin Method
Gets the minimum margin in world units between the shape and the diagram boundary.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
Protected Overridable Function GetMargin ( _
shape As ShapeElement _
) As Double
protected virtual double GetMargin(
ShapeElement shape
)
protected:
virtual double GetMargin(
ShapeElement^ shape
)
abstract GetMargin :
shape:ShapeElement -> float
override GetMargin :
shape:ShapeElement -> float
protected function GetMargin(
shape : ShapeElement
) : double
Parameters
- shape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The shape whose bounds is being checked for compliance.
Return Value
Type: System.Double
.NET Framework Security
- 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.