ShapeElement.TranslateToRelativeBounds Method
Converts the absolute bounds to relative bounds for the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
'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
absoluteBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDThe absolute bounds for the shape.
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The relative bounds for the shape.
- 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.