Compartir a través de


ShapeElement.TranslateToRelativeBounds Method

Converts the absolute bounds to relative 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

'Declaración
Public Function TranslateToRelativeBounds ( _
    absoluteBounds As RectangleD _
) As RectangleD
public RectangleD TranslateToRelativeBounds(
    RectangleD absoluteBounds
)
public:
RectangleD TranslateToRelativeBounds(
    RectangleD absoluteBounds
)
member TranslateToRelativeBounds : 
        absoluteBounds:RectangleD -> RectangleD 
public function TranslateToRelativeBounds(
    absoluteBounds : RectangleD
) : RectangleD

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace