ListField.GetBounds(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 bounds of this ShapeField in world units relative to the top-left of the parent shape.
public:
override Microsoft::VisualStudio::Modeling::Diagrams::RectangleD GetBounds(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);
public override Microsoft.VisualStudio.Modeling.Diagrams.RectangleD GetBounds (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape);
override this.GetBounds : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Overrides Function GetBounds (parentShape As ShapeElement) As RectangleD
Parameters
- parentShape
- ShapeElement
The parent shape of this field.
Returns
The bounds of this ShapeField in world units relative to the top-left of the parent shape.