Compartilhar via


DiagramClientView.WorldToDevice 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 WorldToDevice(PointD) Converts a point in world units to device units using the view's current zoom factor. The point returned is relative to the DiagramClientView's top-left.
Public method WorldToDevice(RectangleD) 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.
Public method WorldToDevice(SizeD) Converts a size in world units to device units using the view's current zoom factor.
Public method WorldToDevice(SizeD, Single) Converts a size in world units to device units using the specified zoom factor.

Top

See Also

Reference

DiagramClientView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace