- About AJAX Vector Objects
- Class Library Reference
- Aurigma.GraphicsMill.AjaxControls Namespace
- Aurigma.GraphicsMill.AjaxControls.Logger Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.FileCache Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.FileStorage Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Logger Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Singleton Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Svg Namespace
- GraphicsMill Namespace (Client Class Library)
- BaseViewer Class
- BaseViewer Members
- BaseViewer Methods
- abort Method
- addCssClass Method
- beginUpdate Method
- controlToWorkspacePoint Method
- controlToWorkspaceRectangle Method
- delayedRefresh Method
- dispose Method
- endUpdate Method
- ignoreDocumentClickOnce Method
- invokeRemoteMethod Method
- notifySizeChanged Method
- onBubbleEvent Method
- pageToControlPoint Method
- pageToWorkspacePoint Method
- raiseBubbleEvent Method
- raisePropertyChanged Method
- refresh Method
- removeCssClass Method
- toggleCssClass Method
- updated Method
- workspaceToContentPoint Method
- workspaceToControlPoint Method
- workspaceToControlRectangle Method
- BaseViewer Properties
- BaseViewer Events
- Bitmap Class
- BitmapViewer Class
- ColorSpace Enumeration
- ImageLoadMode Enumeration
- JqueryMode Enumeration
- PanNavigator Class
- PointF Class
- Rectangle Class
- RectangleController Class
- RectangleRubberband Class
- ResizeMode Enumeration
- ScrollBarsStyle Enumeration
- UpdateStatus Enumeration
- UserInputController Class
- ViewerClientSideOptions Class
- ViewportAlignment Enumeration
- ZoomInNavigator Class
- ZoomMode Enumeration
- ZoomNavigator Class
- ZoomOutNavigator Class
- ZoomQuality Enumeration
- ZoomRectangleNavigator Class
- BaseViewer Class
- Aurigma.GraphicsMill.AjaxControls Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo Namespace (Client Class Library)
- Licensing
- Copyright Notices
BaseViewer.controlToWorkspacePoint Method
Applies to: Graphics Mill Web Controls · Archived documentation
Translates coordinates from the control-related coordinate system to the workspace-related one.
Namespace:
GraphicsMill
Assembly:
Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
Syntax
function controlToWorkspacePoint(point);
Parameters
- point
-
Type: GraphicsMill..PointF
Coordinates in the control coordinate system.
Return Value
Coordinates in the workspace coordinate system.Remarks
The BitmapViewer allows to handle two coordinate systems: workspace-related and control-related and provides the controlToWorkspacePoint(PointF) method to translate the point from the control-related coordinate system to the workspace-related one.
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).
This method corresponds to BaseViewer.ControlToWorkspace(System.Drawing.PointF) server-side member.