ShapeElement.TranslateToRelativeBounds Method
Converts the absolute bounds to relative bounds for the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
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
absoluteBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDThe absolute bounds for the shape.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The relative bounds for the shape.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.