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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Public Function TranslateGeometryToRelativeBounds ( _
absoluteBounds As RectangleD _
) As RectangleD
public RectangleD TranslateGeometryToRelativeBounds(
RectangleD absoluteBounds
)
public:
virtual RectangleD TranslateGeometryToRelativeBounds(
RectangleD absoluteBounds
) sealed
abstract TranslateGeometryToRelativeBounds :
absoluteBounds:RectangleD -> RectangleD
override TranslateGeometryToRelativeBounds :
absoluteBounds:RectangleD -> RectangleD
public final function TranslateGeometryToRelativeBounds(
absoluteBounds : RectangleD
) : RectangleD
Parameters
- absoluteBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The 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.