You’re viewing documentation for an outdated product. The Graphics Mill Web Controls library has been removed from Graphics Mill and is now part of the Customers Canvas product line, where it is available as a set of APIs for Design Atoms and as Design Editor.

CanvasViewer.WorkspaceToControl Method (RectangleF)

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

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

Syntax

C#
public override RectangleF WorkspaceToControl(
	RectangleF rect
)

Parameters

rect

Type: System.Drawing..RectangleF

Rectangle coordinates in the workspace coordinate system.

Return Value

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

See Also

Reference