The BaseViewer type exposes the following members.
Name | Description | |
---|---|---|
abort |
Cancels all remote methods. |
|
addCssClass | ||
beginUpdate | ||
controlToWorkspacePoint |
Translates coordinates from the control-related coordinate system to the workspace-related one. |
|
controlToWorkspaceRectangle |
Translates rectangle coordinates from the control-related coordinate system to the workspace-related one. |
|
delayedRefresh |
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. |
|
dispose |
Releases all resources. |
|
endUpdate | ||
invokeRemoteMethod |
Runs the specified remote method on the server. Read the Remote Scripting Approach topic for more details. |
|
onBubbleEvent | ||
raiseBubbleEvent | ||
raisePropertyChanged | ||
refresh |
Refreshes the control immediately. |
|
removeCssClass | ||
toggleCssClass | ||
updated | ||
workspaceToControlPoint |
Translates coordinates from the workspace-related coordinate system to the control-related one. |
|
workspaceToControlRectangle |
Translates rectangle coordinates from the workspace-related coordinate system to the control-related one. |
Name | Description | |
---|---|---|
autoPostBack |
Gets/sets a value indicating whether a postback to the server automatically occurs when the user zooms or scrolls the content. |
|
borderWidth |
Gets the width (in pixels) of the control border. |
|
clientSideOptions |
Gets values which configure automatic postback for individual events. |
|
contentHeight |
Gets a value that represents the height of the control's content taking into account its vertical resolution and zoom value. |
|
contentWidth |
Gets a value that represents the width of the control's content taking into account its horizontal resolution and zoom value. |
|
delayedRefreshTimeout |
Amount of milliseconds to wait before delayed refresh will be invoked. |
|
element | ||
events | ||
exceptionDescription |
When a remote scripting method fails, this method returns the exception description. |
|
height |
Gets the height (in pixels) of the control area. |
|
id | ||
isInitialized | ||
isUpdating | ||
maxZoom |
Gets the maximum allowed zoom value. |
|
minZoom |
Gets the minimum allowed zoom value. |
|
navigator |
Gets/sets the navigator control ID (i.e. value stored in the attribute id of the tag that inserts the control). |
|
parent | ||
returnValue |
When a remote scripting method is completed, this method returns its return value. |
|
rubberband |
Gets/sets the rubberband control ID (i.e. value stored in the attribute id of the tag that inserts the control). |
|
rulerEnabled |
Gets or sets a value indicating whether to show the ruler. |
|
rulerScale |
Gets or sets the ruler scale. |
|
rulerWidth |
Gets or sets the ruler width. |
|
screenXDpi |
Gets a value representing horizontal resolution in DPI used to show content in the browser. |
|
screenYDpi |
Gets a value representing vertical resolution in DPI used to show content in the browser. |
|
scrollBarsStyle |
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. |
|
scrollBarWidth |
Gets a value that represents a scroll bar width (in pixels) in calculations. |
|
scrollingPosition |
Gets/sets the position of the scroll bars. |
|
scrollingSize |
Gets a scroll bar length (in other words, the right-bottom point of the image fragment which is out of the visible area). |
|
status |
Gets a current Viewer status. |
|
viewportAlignment |
Gets/sets a value that specifies content alignment in the control. |
|
visibilityMode | ||
visible | ||
width |
Gets the width (in pixels) of the control area. |
|
zoom |
Gets/sets the current zoom value. |
|
zoomMode |
Gets/sets a value that specifies content zoom mode of the control (automatic or manual). |
|
zoomQuality |
Gets a value that specifies a zoom quality. |
Name | Description | |
---|---|---|
click |
Fires when the control is clicked. |
|
disposing | ||
invokingCallbackRequest |
Occurs before the callback is initiated by this control. |
|
mouseDown |
Fires when the user clicks the control with either mouse button. |
|
mouseMove |
Fires when the user moves the mouse over the control. |
|
mouseUp |
Fires when the user releases a mouse button while the mouse is over the control. |
|
propertyChanged | ||
scrolled |
Fires when scroll position of the control is changed. |
|
statusChanged |
Fires when status (see status property) is updated. |
|
workspaceChanged |
Occurs when the content of the associated workspace is replaced. |
|
workspaceClick |
Fires when the content displayed in the control is clicked. |
|
workspaceMouseDown |
Occurs when a mouse button is clicked in the content displayed by this viewer control. |
|
workspaceMouseMove |
Fires when the user moves the mouse over the content of control. |
|
workspaceMouseUp |
Fires when the user releases a mouse button while the mouse is over the content of control. |
|
zoomed |
Fires when the content is zoomed in the control. |