You’re viewing documentation for an outdated product. Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see Design Atoms .NET, Design Atoms JS, and Design Editor.

CanvasViewer.ControlToWorkspace Method (RectangleF)

Applies to: Graphics Mill Web Controls · Archived documentation

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

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