Converts rectangle coordinates and dimensions from control-related to workspace-related ones.
Namespace:
Aurigma.GraphicsMill.WinControls
Assembly:
Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)
Public Overridable Function ControlToWorkspace ( _
controlRectangle As Rectangle, _
workspaceUnit As Unit _
) As RectangleF
public virtual RectangleF ControlToWorkspace(
Rectangle controlRectangle,
Unit workspaceUnit
)
Type: System.Drawing.Rectangle
A rectangle containing values measured in the coordinates of the control.To apply a translation from the workspace coordinates to control coordinates, use the WorkspaceToControl(RectangleF, Unit) method.