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 | ||
ignoreDocumentClickOnce | ||
invokeRemoteMethod |
Runs the specified remote method on the server. |
|
notifySizeChanged | ||
onBubbleEvent | ||
pageToControlPoint |
Translates coordinates from the page-related coordinate system to the control-related one. |
|
pageToWorkspacePoint |
Translates coordinates from the page-related coordinate system to the workspace-related one. |
|
raiseBubbleEvent | ||
raisePropertyChanged | ||
refresh |
Refreshes the control immediately. |
|
removeCssClass | ||
toggleCssClass | ||
updated | ||
workspaceToContentPoint | ||
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. |
|
bestFitWhiteSpacePc |
Gets or sets white space between content maximal demention and canvas |
|
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 | ||
pinchZoomEnabled | ||
returnValue |
When a remote scripting method is completed, this method returns its return value. |
|
role | ||
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. |
|
rulerOffsetX |
Gets or sets the ruler offset on x-axis. |
|
rulerOffsetY |
Gets or sets the ruler offset on y-axis. |
|
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. |
|
pinchStart |
Fires when the content is start zooming by pinch gesture. |
|
pinchStop |
Fires when the content zooming by pinch gesture. |
|
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. |
|
workspaceDoubleClick |
Occurs when a mouse button is double clicked in the content displayed by this viewer control. |
|
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. |