Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
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.ShapeElementThe shape whose bounds is being checked for compliance.
Return Value
Type: 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.