Delen via


DiagramClientView.DeviceToWorld Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method DeviceToWorld(Point) Converts a point in device units to world units using the view's current zoom factor. The device units are relative to the DiagramClientView's top-left. The world units are relative to the diagram's top-left.
Public method DeviceToWorld(Rectangle) Converts a rectangle in device units to world units using the view's current zoom factor. The device units are relative to the DiagramClientView's top-left. The world units are relative to the diagram's top-left.
Public method DeviceToWorld(Size) Converts a size in device units to world units using the view's current zoom factor.
Public method DeviceToWorld(Size, Single) Converts a size in device units to world units using the specified zoom factor.

Top

See Also

Reference

DiagramClientView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace