Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Converts a rectangle in world units to device units using the view's current zoom factor. The rectangle returned is relative to the DiagramClientView's top-left.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Function WorldToDevice ( _
worldRectangle As RectangleD _
) As Rectangle
public Rectangle WorldToDevice(
RectangleD worldRectangle
)
public:
Rectangle WorldToDevice(
RectangleD worldRectangle
)
member WorldToDevice :
worldRectangle:RectangleD -> Rectangle
public function WorldToDevice(
worldRectangle : RectangleD
) : Rectangle
Parameters
- worldRectangle
Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
The rectangle in world units relative to the diagram's top-left.
Return Value
Type: System.Drawing.Rectangle
.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.