Converts the specified rectangle from document to client coordinates.
Namespace: MindFusion.Diagramming.WinForms
Assembly: MindFusion.Diagramming.WinForms
C# Copy Code |
---|
public Rectangle DocToClient ( |
Visual Basic Copy Code |
---|
Public Function DocToClient( _ |
A Rectangle instance, which represents the client coordinates of docRect.
This method is useful when the client (device) coordinates of a diagram location are needed. For example, it can be used to get the device point where a context menu should be displayed.