Translates rectangle coordinates from the workspace-related coordinate system to the control-related one.
Namespace:
Aurigma.GraphicsMill.AjaxControls
Assembly:
Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
Public Overridable Function WorkspaceToControl ( _ rect As RectangleF _ ) As RectangleF
public virtual RectangleF WorkspaceToControl( RectangleF rect )
The workspace-related coordinate system represents logical coordinates of the image loaded in the control and allows to work with it regardless of zoom, scroll or alignment. The control-related one is used to measure parameters of standard control events (e.g. position of the mouse pointer).