DiagramClientView.WorldToDevice Method (RectangleD)

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

Syntax

'宣言
Public Function WorldToDevice ( _
    worldRectangle As RectangleD _
) As Rectangle
'使用
Dim instance As DiagramClientView
Dim worldRectangle As RectangleD
Dim returnValue As Rectangle

returnValue = instance.WorldToDevice(worldRectangle)
public Rectangle WorldToDevice(
    RectangleD worldRectangle
)
public:
Rectangle WorldToDevice(
    RectangleD worldRectangle
)
public function WorldToDevice(
    worldRectangle : RectangleD
) : Rectangle

Parameters

Return Value

Type: System.Drawing.Rectangle

Permissions

See Also

Reference

DiagramClientView Class

DiagramClientView Members

WorldToDevice Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace