---
title: "BaseViewer Members"
canonical: https://www.graphicsmill.com/docs/gm5/AllMembers_T_J_GraphicsMill_BaseViewer.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# BaseViewer Members
 
The [BaseViewer](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_BaseViewer.htm.md) type exposes the following members.
 
## Methods

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [abort](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_abort.htm.md) |  Cancels all remote methods. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [addCssClass](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_addCssClass.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [beginUpdate](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_beginUpdate.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [controlToWorkspacePoint](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_controlToWorkspacePoint.htm.md) |  Translates coordinates from the control-related coordinate system to the workspace-related one. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [controlToWorkspaceRectangle](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_controlToWorkspaceRectangle.htm.md) |  Translates rectangle coordinates from the control-related coordinate system to the workspace-related one. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [delayedRefresh](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_delayedRefresh.htm.md) |  Indicates that the control needs to be refreshed. The actual refreshing is applied when the user does not update the control state (such as scroll position, zoom value) in one second. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [dispose](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_dispose.htm.md) |  Releases all resources. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [endUpdate](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_endUpdate.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [invokeRemoteMethod](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_invokeRemoteMethod.htm.md) |  Runs the specified remote method on the server. Read the [Remote Scripting Approach](https://www.graphicsmill.com/docs/gm5/AjaxControlsRemoteScripting.htm.md) topic for more details. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [onBubbleEvent](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_onBubbleEvent.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [raiseBubbleEvent](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_raiseBubbleEvent.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [raisePropertyChanged](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_raisePropertyChanged.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [refresh](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_refresh.htm.md) |  Refreshes the control immediately. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [removeCssClass](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_removeCssClass.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [toggleCssClass](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_toggleCssClass.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [updated](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_updated.htm.md) |   |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [workspaceToControlPoint](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_workspaceToControlPoint.htm.md) |  Translates coordinates from the workspace-related coordinate system to the control-related one. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [workspaceToControlRectangle](https://www.graphicsmill.com/docs/gm5/M_J_GraphicsMill_BaseViewer_workspaceToControlRectangle.htm.md) |  Translates rectangle coordinates from the workspace-related coordinate system to the control-related one. |
 
## Properties

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [autoPostBack](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_autoPostBack.htm.md) |  Gets/sets a value indicating whether a postback to the server automatically occurs when the user zooms or scrolls the content. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [borderWidth](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_borderWidth.htm.md) |  Gets the width (in pixels) of the control border. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [clientSideOptions](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_clientSideOptions.htm.md) |  Gets values which configure automatic postback for individual events. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [contentHeight](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_contentHeight.htm.md) |  Gets a value that represents the height of the control's content taking into account its vertical resolution and zoom value. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [contentWidth](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_contentWidth.htm.md) |  Gets a value that represents the width of the control's content taking into account its horizontal resolution and zoom value. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [delayedRefreshTimeout](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_delayedRefreshTimeout.htm.md) |  Amount of milliseconds to wait before delayed refresh will be invoked. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [element](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_element.htm.md) |   |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [events](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_events.htm.md) |   |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [exceptionDescription](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_exceptionDescription.htm.md) |  When a remote scripting method fails, this method returns the exception description. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [height](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_height.htm.md) |  Gets the height (in pixels) of the control area. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [id](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_id.htm.md) |   |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [isInitialized](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_isInitialized.htm.md) |   |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [isUpdating](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_isUpdating.htm.md) |   |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [maxZoom](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_maxZoom.htm.md) |  Gets the maximum allowed zoom value. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [minZoom](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_minZoom.htm.md) |  Gets the minimum allowed zoom value. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [navigator](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_navigator.htm.md) |  Gets/sets the navigator control ID (i.e. value stored in the attribute **id** of the tag that inserts the control). |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [parent](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_parent.htm.md) |   |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [returnValue](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_returnValue.htm.md) |  When a remote scripting method is completed, this method returns its return value. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [rubberband](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_rubberband.htm.md) |  Gets/sets the rubberband control ID (i.e. value stored in the attribute **id** of the tag that inserts the control). |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [rulerEnabled](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_rulerEnabled.htm.md) |  Gets or sets a value indicating whether to show the ruler. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [rulerScale](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_rulerScale.htm.md) |  Gets or sets the ruler scale. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [rulerWidth](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_rulerWidth.htm.md) |  Gets or sets the ruler width. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [screenXDpi](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_screenXDpi.htm.md) |  Gets a value representing horizontal resolution in DPI used to show content in the browser. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [screenYDpi](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_screenYDpi.htm.md) |  Gets a value representing vertical resolution in DPI used to show content in the browser. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [scrollBarsStyle](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_scrollBarsStyle.htm.md) |  Gets a value that specifies whether to display scroll bars and whether to hide them automatically when the displayed content is less than the control size. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [scrollBarWidth](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_scrollBarWidth.htm.md) |  Gets a value that represents a scroll bar width (in pixels) in calculations. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [scrollingPosition](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_scrollingPosition.htm.md) |  Gets/sets the position of the scroll bars. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [scrollingSize](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_scrollingSize.htm.md) |  Gets a scroll bar length (in other words, the right-bottom point of the image fragment which is out of the visible area). |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [status](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_status.htm.md) |  Gets a current Viewer status. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [viewportAlignment](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_viewportAlignment.htm.md) |  Gets/sets a value that specifies content alignment in the control. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [visibilityMode](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_visibilityMode.htm.md) |   |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [visible](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_visible.htm.md) |   |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [width](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_width.htm.md) |  Gets the width (in pixels) of the control area. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [zoom](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_zoom.htm.md) |  Gets/sets the current zoom value. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [zoomMode](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_zoomMode.htm.md) |  Gets/sets a value that specifies content zoom mode of the control (automatic or manual). |
 |  ![Public property](https://www.graphicsmill.com/docs/gm5/icons/pubproperty.gif) |  [zoomQuality](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_zoomQuality.htm.md) |  Gets a value that specifies a zoom quality. |
 
## Events

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [click](https://www.graphicsmill.com/docs/gm5/E_J_GraphicsMill_BaseViewer_click.htm.md) |  Fires when the control is clicked. |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [disposing](https://www.graphicsmill.com/docs/gm5/E_J_GraphicsMill_BaseViewer_disposing.htm.md) |   |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [invokingCallbackRequest](https://www.graphicsmill.com/docs/gm5/E_J_GraphicsMill_BaseViewer_invokingCallbackRequest.htm.md) |  Occurs before the callback is initiated by this control. |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [mouseDown](https://www.graphicsmill.com/docs/gm5/E_J_GraphicsMill_BaseViewer_mouseDown.htm.md) |  Fires when the user clicks the control with either mouse button. |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [mouseMove](https://www.graphicsmill.com/docs/gm5/E_J_GraphicsMill_BaseViewer_mouseMove.htm.md) |  Fires when the user moves the mouse over the control. |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [mouseUp](https://www.graphicsmill.com/docs/gm5/E_J_GraphicsMill_BaseViewer_mouseUp.htm.md) |  Fires when the user releases a mouse button while the mouse is over the control. |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [propertyChanged](https://www.graphicsmill.com/docs/gm5/E_J_GraphicsMill_BaseViewer_propertyChanged.htm.md) |   |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [scrolled](https://www.graphicsmill.com/docs/gm5/E_J_GraphicsMill_BaseViewer_scrolled.htm.md) |  Fires when scroll position of the control is changed. |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [statusChanged](https://www.graphicsmill.com/docs/gm5/E_J_GraphicsMill_BaseViewer_statusChanged.htm.md) |  Fires when status (see [status](https://www.graphicsmill.com/docs/gm5/P_J_GraphicsMill_BaseViewer_status.htm.md) property) is updated. |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [workspaceChanged](https://www.graphicsmill.com/docs/gm5/E_J_GraphicsMill_BaseViewer_workspaceChanged.htm.md) |  Occurs when the content of the associated workspace is replaced. |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [workspaceClick](https://www.graphicsmill.com/docs/gm5/E_J_GraphicsMill_BaseViewer_workspaceClick.htm.md) |  Fires when the content displayed in the control is clicked. |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [workspaceMouseDown](https://www.graphicsmill.com/docs/gm5/E_J_GraphicsMill_BaseViewer_workspaceMouseDown.htm.md) |  Occurs when a mouse button is clicked in the content displayed by this viewer control. |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [workspaceMouseMove](https://www.graphicsmill.com/docs/gm5/E_J_GraphicsMill_BaseViewer_workspaceMouseMove.htm.md) |  Fires when the user moves the mouse over the content of control. |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [workspaceMouseUp](https://www.graphicsmill.com/docs/gm5/E_J_GraphicsMill_BaseViewer_workspaceMouseUp.htm.md) |  Fires when the user releases a mouse button while the mouse is over the content of control. |
 |  ![Public event](https://www.graphicsmill.com/docs/gm5/icons/pubevent.gif) |  [zoomed](https://www.graphicsmill.com/docs/gm5/E_J_GraphicsMill_BaseViewer_zoomed.htm.md) |  Fires when the content is zoomed in the control. |
   
## See Also

### Reference

- [BaseViewer Class](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_BaseViewer.htm.md)
- [GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
