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

BitmapViewer Members

The BitmapViewer type exposes the following members.

Methods

Name Description
Public method abort

Cancels all remote methods.

(Inherited from BaseViewer.)
Public method addCssClass

(Inherited from BaseViewer.)
Public method beginUpdate (Inherited from BaseViewer.)
Public method controlToWorkspacePoint

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

(Inherited from BaseViewer.)
Public method controlToWorkspaceRectangle

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

(Inherited from BaseViewer.)
Public method dispose

Releases all resources.

(Inherited from BaseViewer.)
Public method endUpdate (Inherited from BaseViewer.)
Public method invokeRemoteMethod

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

(Inherited from BaseViewer.)
Public method onBubbleEvent

(Inherited from BaseViewer.)
Public method raiseBubbleEvent

(Inherited from BaseViewer.)
Public method raisePropertyChanged

(Inherited from BaseViewer.)
Public method refresh

Refreshes the control immediately.

(Inherited from BaseViewer.)
Public method removeCssClass

(Inherited from BaseViewer.)
Public method toggleCssClass

(Inherited from BaseViewer.)
Public method updated (Inherited from BaseViewer.)
Public method workspaceToControlPoint

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

(Inherited from BaseViewer.)
Public method workspaceToControlRectangle

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

(Inherited from BaseViewer.)

Properties

Name Description
Public property actualSizeHorizontalScale

Gets a value which represents the ratio of screen horizontal resolution to the image resolution.

Public property actualSizeVerticalScale

Gets a value which represents the ratio of screen vertical resolution to the image resolution.

Public property autoPostBack

Gets/sets a value indicating whether a postback to the server automatically occurs when the user zooms or scrolls the content.

(Inherited from BaseViewer.)
Public property bitmap

Gets the bitmap which is displayed in the control.

Public property borderWidth

Gets the width (in pixels) of the control border.

(Inherited from BaseViewer.)
Public property clientSideOptions

Gets values which configure automatic postback for individual events.

(Inherited from BaseViewer.)
Public property delayedRefreshTimeout

Amount of milliseconds to wait before delayed refresh will be invoked.

(Inherited from BaseViewer.)
Public property element (Inherited from BaseViewer.)
Public property events (Inherited from BaseViewer.)
Public property exceptionDescription

When a remote scripting method fails, this method returns the exception description.

(Inherited from BaseViewer.)
Public property hasContent

Gets a value indicating if the viewer contains a bitmap.

Public property height

Gets the height (in pixels) of the control area.

(Inherited from BaseViewer.)
Public property imageLoadMode

Gets a value that specifies how the image is loaded to a browser.

Public property isInitialized (Inherited from BaseViewer.)
Public property isUpdating (Inherited from BaseViewer.)
Public property maxZoom

Gets the maximum allowed zoom value.

(Inherited from BaseViewer.)
Public property minZoom

Gets the minimum allowed zoom value.

(Inherited from BaseViewer.)
Public property parent (Inherited from BaseViewer.)
Public property returnValue

When a remote scripting method is completed, this method returns its return value.

(Inherited from BaseViewer.)
Public property rulerEnabled

Gets or sets a value indicating whether to show the ruler.

(Inherited from BaseViewer.)
Public property rulerScale

Gets or sets the ruler scale.

(Inherited from BaseViewer.)
Public property rulerWidth

Gets or sets the ruler width.

(Inherited from BaseViewer.)
Public property scaleToActualSize

Get/sets a value that specifies whether to take into account the image resolution (DPI) during displaying.

Public property screenXDpi

Gets a value representing horizontal resolution in DPI used to show content in the browser.

(Inherited from BaseViewer.)
Public property screenYDpi

Gets a value representing vertical resolution in DPI used to show content in the browser.

(Inherited from BaseViewer.)
Public property 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.

(Inherited from BaseViewer.)
Public property scrollBarWidth

Gets a value that represents a scroll bar width (in pixels) in calculations.

(Inherited from BaseViewer.)
Public property scrollingPosition

Gets/sets the position of the scroll bars.

(Inherited from BaseViewer.)
Public property scrollingSize

Gets a scroll bar length (in other words, the right-bottom point of the image fragment which is out of the visible area).

(Inherited from BaseViewer.)
Public property status

Gets a current Viewer status.

(Inherited from BaseViewer.)
Public property viewportAlignment

Gets/sets a value that specifies content alignment in the control.

(Inherited from BaseViewer.)
Public property visibilityMode (Inherited from BaseViewer.)
Public property visible (Inherited from BaseViewer.)
Public property width

Gets the width (in pixels) of the control area.

(Inherited from BaseViewer.)
Public property workspaceHeight

Gets a value which represents height (in pixels) of bitmap loaded in BitmapViewer.

Public property workspaceWidth

Gets a value which represents width of bitmap loaded in BitmapViewer.

Public property zoom

Gets/sets the current zoom value.

(Inherited from BaseViewer.)
Public property zoomMode

Gets/sets a value that specifies content zoom mode of the control (automatic or manual).

(Inherited from BaseViewer.)
Public property zoomQuality

Gets a value that specifies a zoom quality.

(Inherited from BaseViewer.)

Events

Name Description
Public event click

Fires when the control is clicked.

(Inherited from BaseViewer.)
Public event disposing

(Inherited from BaseViewer.)
Public event invokingCallbackRequest

Occurs before the callback is initiated by this control.

(Inherited from BaseViewer.)
Public event mouseDown

Fires when the user clicks the control with either mouse button.

(Inherited from BaseViewer.)
Public event mouseMove

Fires when the user moves the mouse over the control.

(Inherited from BaseViewer.)
Public event mouseUp

Fires when the user releases a mouse button while the mouse is over the control.

(Inherited from BaseViewer.)
Public event propertyChanged

(Inherited from BaseViewer.)
Public event scrolled

Fires when scroll position of the control is changed.

(Inherited from BaseViewer.)
Public event statusChanged

Fires when status (see status property) is updated.

(Inherited from BaseViewer.)
Public event workspaceChanged

Occurs when the content of the associated workspace is replaced.

(Inherited from BaseViewer.)
Public event workspaceClick

Fires when the content displayed in the control is clicked.

(Inherited from BaseViewer.)
Public event workspaceMouseDown

Occurs when a mouse button is clicked in the content displayed by this viewer control.

(Inherited from BaseViewer.)
Public event workspaceMouseMove

Fires when the user moves the mouse over the content of control.

(Inherited from BaseViewer.)
Public event workspaceMouseUp

Fires when the user releases a mouse button while the mouse is over the content of control.

(Inherited from BaseViewer.)
Public event zoomed

Fires when the content is zoomed in the control.

(Inherited from BaseViewer.)

See Also

Reference