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)
Function ControlToWorkspace ( _ controlRectangle As Rectangle, _ workspaceUnit As Unit _ ) As RectangleF
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.