Ανάγνωση στα Αγγλικά

Κοινή χρήση μέσω


KeepInParentRule Class

Definition

A Bounds rule that keeps the shape within the boundary of the diagram.

C++
public ref class KeepInParentRule : Microsoft::VisualStudio::Modeling::Diagrams::BoundsRules
Inheritance
KeepInParentRule
Attributes

Constructors

KeepInParentRule()

Initializes a new instance of the KeepInDiagramRule class.

Properties

Instance

Gets the singleton instance of this class.

Methods

GetCompliantBounds(ShapeElement, RectangleD)

Returns the compliant bounds in world units relative to the top-left of the parent using this bounds rule.

GetMargin(ShapeElement)

Gets the minimum margin in world units between the shape and the diagram boundary.

Applies to

Προϊόν Εκδόσεις
Visual Studio SDK 2017, 2019, 2022