Compartilhar via


ShapeElement.TranslateToAbsoluteBounds Method

Converts the relative bounds to absolute bounds for the shape.

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

Syntax

'Declaração
Public Function TranslateToAbsoluteBounds ( _
    relativeBounds As RectangleD _
) As RectangleD
public RectangleD TranslateToAbsoluteBounds(
    RectangleD relativeBounds
)
public:
RectangleD TranslateToAbsoluteBounds(
    RectangleD relativeBounds
)
member TranslateToAbsoluteBounds : 
        relativeBounds:RectangleD -> RectangleD 
public function TranslateToAbsoluteBounds(
    relativeBounds : RectangleD
) : RectangleD

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace