This documentation is for the old version. Go to the latest Graphics Mill docs

CanvasViewer.ControlToWorkspace Method (RectangleF)

Translates rectangle coordinates from the control-related coordinate system to the workspace-related one.

Namespace: Aurigma.GraphicsMill.AjaxControls
Assembly: Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)

Syntax

Visual Basic
Public Overrides Function ControlToWorkspace ( _
	rect As RectangleF _
) As RectangleF
C#
public override RectangleF ControlToWorkspace(
	RectangleF rect
)

Parameters

rect

Type: System.Drawing.RectangleF

Rectangle coordinates in the control coordinate system.

Return Value

The RectangleF value which represents rectangle coordinates in the workspace coordinate system.

See Also

Reference