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

BaseViewer.ControlToWorkspace Method (PointF)

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

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

Syntax

Visual Basic
Public Overridable Function ControlToWorkspace ( _
	point As PointF _
) As PointF
C#
public virtual PointF ControlToWorkspace(
	PointF point
)

Parameters

point

Type: System.Drawing.PointF

Point coordinates in the control coordinate system.

Return Value

Point coordinates in the workspace coordinate system.

Remarks

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).

See Also

Reference

Manual