Condividi tramite


ShapeElement.TranslateGeometryToAbsoluteBounds Method

Converts the relative bounds to absolute bounds for the shape's geometry.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Dichiarazione
Public Function TranslateGeometryToAbsoluteBounds ( _
    relativeBounds As RectangleD _
) As RectangleD
public RectangleD TranslateGeometryToAbsoluteBounds(
    RectangleD relativeBounds
)
public:
virtual RectangleD TranslateGeometryToAbsoluteBounds(
    RectangleD relativeBounds
) sealed
abstract TranslateGeometryToAbsoluteBounds : 
        relativeBounds:RectangleD -> RectangleD 
override TranslateGeometryToAbsoluteBounds : 
        relativeBounds:RectangleD -> RectangleD 
public final function TranslateGeometryToAbsoluteBounds(
    relativeBounds : RectangleD
) : RectangleD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The absolute bounds for the shape's geometry.

Implements

IGeometryHost.TranslateGeometryToAbsoluteBounds(RectangleD)

Remarks

Relative bounds measure the distance between the shape and the top-left point of its parent. Absolute bounds measure the distance between the shape and the top-left point of the diagram.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace