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

Canvas.workspaceToControl Method

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

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

Syntax

Java Script
function workspaceToControl(pt);

Parameters

pt

Type: Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math.PointF

Coordinates in the workspace coordinate system.

Return Value

The PointF in the control coordinate system.

See Also

Reference