ShapeElement.TranslateGeometryToRelativeBounds Method
Converts the absolute bounds to relative bounds for the shape's geometry.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public RectangleD TranslateGeometryToRelativeBounds(
RectangleD absoluteBounds
)
Parameters
- absoluteBounds
- Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The absolute bounds for the shape's geometry.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleDThe relative bounds for the shape's geometry.
Implements
IGeometryHost.TranslateGeometryToRelativeBounds(RectangleD)- 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.