Udostępnij za pośrednictwem


ShapeElement.TranslateGeometryToAbsoluteBounds(RectangleD) Method

Definition

Translates a rectangle from coordinates relative to the top-left of the IGeometryHost's parent to absolute world coordinates.

public:
 virtual Microsoft::VisualStudio::Modeling::Diagrams::RectangleD TranslateGeometryToAbsoluteBounds(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD relativeBounds);
public Microsoft.VisualStudio.Modeling.Diagrams.RectangleD TranslateGeometryToAbsoluteBounds (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD relativeBounds);
abstract member TranslateGeometryToAbsoluteBounds : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
override this.TranslateGeometryToAbsoluteBounds : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Function TranslateGeometryToAbsoluteBounds (relativeBounds As RectangleD) As RectangleD

Parameters

relativeBounds
RectangleD

The bounds of the geometry relative to the top-left of the IGeometryHost's parent to the top-left of the diagram.

Returns

The absolute bounds of the geometry.

Implements

Applies to