ShapeElement.TranslateGeometryToRelativeBounds Method
Converts the absolute bounds to relative bounds for the shape's geometry.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Function TranslateGeometryToRelativeBounds ( _
absoluteBounds As RectangleD _
) As RectangleD
'Usage
Dim instance As ShapeElement
Dim absoluteBounds As RectangleD
Dim returnValue As RectangleD
returnValue = instance.TranslateGeometryToRelativeBounds(absoluteBounds)
public RectangleD TranslateGeometryToRelativeBounds(
RectangleD absoluteBounds
)
public:
virtual RectangleD TranslateGeometryToRelativeBounds(
RectangleD absoluteBounds
) sealed
public final function TranslateGeometryToRelativeBounds(
absoluteBounds : RectangleD
) : RectangleD
Parameters
absoluteBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDThe absolute bounds for the shape's geometry.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The relative bounds for the shape's geometry.
Implements
IGeometryHost.TranslateGeometryToRelativeBounds(RectangleD)
.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.