ShapeElement.TranslateGeometryToAbsoluteBounds Method
Converts the relative bounds to absolute 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
'Dichiarazione
Public Function TranslateGeometryToAbsoluteBounds ( _
relativeBounds As RectangleD _
) As RectangleD
public RectangleD TranslateGeometryToAbsoluteBounds(
RectangleD relativeBounds
)
public:
virtual RectangleD TranslateGeometryToAbsoluteBounds(
RectangleD relativeBounds
) sealed
abstract TranslateGeometryToAbsoluteBounds :
relativeBounds:RectangleD -> RectangleD
override TranslateGeometryToAbsoluteBounds :
relativeBounds:RectangleD -> RectangleD
public final function TranslateGeometryToAbsoluteBounds(
relativeBounds : RectangleD
) : RectangleD
Parameters
- relativeBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The relative bounds for the shape's geometry.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The absolute bounds for the shape's geometry.
Implements
IGeometryHost.TranslateGeometryToAbsoluteBounds(RectangleD)
Remarks
Relative bounds measure the distance between the shape and the top-left point of its parent. Absolute bounds measure the distance between the shape and the top-left point of the diagram.
.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.