共用方式為


IGeometryHost.TranslateGeometryToAbsoluteBounds Method

Translates a rectangle from coordinates relative to the top-left of the IGeometryHost's parent to absolute world coordinates.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Function TranslateGeometryToAbsoluteBounds ( _
    relativeBounds As RectangleD _
) As RectangleD
RectangleD TranslateGeometryToAbsoluteBounds(
    RectangleD relativeBounds
)
RectangleD TranslateGeometryToAbsoluteBounds(
    RectangleD relativeBounds
)
abstract TranslateGeometryToAbsoluteBounds : 
        relativeBounds:RectangleD -> RectangleD 
function TranslateGeometryToAbsoluteBounds(
    relativeBounds : RectangleD
) : RectangleD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework Security

See Also

Reference

IGeometryHost Interface

Microsoft.VisualStudio.Modeling.Diagrams Namespace