DiagramClientView::WorldToDevice Method (RectangleD)
Visual Studio 2015
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.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
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
Show: