ShapeElement.TranslateToAbsoluteBounds Method
Converts the relative bounds to absolute bounds for the shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Function TranslateToAbsoluteBounds ( _
relativeBounds As RectangleD _
) As RectangleD
public RectangleD TranslateToAbsoluteBounds(
RectangleD relativeBounds
)
public:
RectangleD TranslateToAbsoluteBounds(
RectangleD relativeBounds
)
member TranslateToAbsoluteBounds :
relativeBounds:RectangleD -> RectangleD
public function TranslateToAbsoluteBounds(
relativeBounds : RectangleD
) : RectangleD
Parameters
- relativeBounds
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The relative bounds for the shape.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The absolute bounds for the shape.
.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.