KeepInParentRule::GetMargin Method (ShapeElement^)

 

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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

protected:
virtual double GetMargin(
	ShapeElement^ shape
)

Parameters

shape
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^

The shape whose bounds is being checked for compliance.

Return Value

Type: System::Double
Return to top
Show: