- 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
- 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
- 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
BitmapViewer Class
Applies to: Graphics Mill Web Controls · Archived documentation
This client-side class corresponds to the BitmapViewer server-side control and gives an opportunity to obtain access to its primary members in JavaScript.
Namespace:
GraphicsMill
Assembly:
Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
Syntax
GraphicsMill.BitmapViewer = function();
Type.createClass(
'GraphicsMill.BitmapViewer',
GraphicsMill.BaseViewer);
Remarks
Using this client-side class you can access the bitmap displayed on the page. It is convenient when you need to calculate some values in JavaScript which depend on the displayed bitmap parameters. Parameters of the displayed bitmap can be got with bitmap property, which returns an instance of the client-side Bitmap class.
The displayed bitmap can be aligned in different ways inside the control with client-side viewportAlignment property.
Also you can resize the displayed image manually or automatically with zoom and zoomMode client-side properties.
The position of scroll bars can be changed in JavaScript programmatically. Current scroll bars position is specified with scrollingPosition property.
To attach rubberbands and navigators to the control in JavaScript you should use rubberband and navigator properties.
You can add control event listeners (such as workspaceClick, workspaceChanged, scrolled and zoomed) in JavaScript.