This documentation is for the old version. Go to the latest Graphics Mill docs

BaseViewer Methods

The BaseViewer type exposes the following members.

Methods

Name Description
Public method abort

Cancels all remote methods.

Public method addCssClass

Public method beginUpdate
Public method controlToWorkspacePoint

Translates coordinates from the control-related coordinate system to the workspace-related one.

Public method controlToWorkspaceRectangle

Translates rectangle coordinates from the control-related coordinate system to the workspace-related one.

Public method 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.

Public method dispose

Releases all resources.

Public method endUpdate
Public method invokeRemoteMethod

Runs the specified remote method on the server. Read the Remote Scripting Approach topic for more details.

Public method onBubbleEvent

Public method raiseBubbleEvent

Public method raisePropertyChanged

Public method refresh

Refreshes the control immediately.

Public method removeCssClass

Public method toggleCssClass

Public method updated
Public method workspaceToControlPoint

Translates coordinates from the workspace-related coordinate system to the control-related one.

Public method workspaceToControlRectangle

Translates rectangle coordinates from the workspace-related coordinate system to the control-related one.

See Also

Reference