KeepInParentRule.GetMargin(ShapeElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the minimum margin in world units between the shape and the diagram boundary.
protected:
virtual double GetMargin(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ shape);
protected virtual double GetMargin (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement shape);
abstract member GetMargin : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> double
override this.GetMargin : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> double
Protected Overridable Function GetMargin (shape As ShapeElement) As Double
Parameters
- shape
- ShapeElement
The shape whose bounds is being checked for compliance.
Returns
The minimum margin in world units between the shape and the diagram boundary.