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

BaseViewer Properties

The BaseViewer type exposes the following members.

Properties

Name Description
Public property autoPostBack

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

Public property borderWidth

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

Public property clientSideOptions

Gets values which configure automatic postback for individual events.

Public property contentHeight

Gets a value that represents the height of the control's content taking into account its vertical resolution and zoom value.

Public property contentWidth

Gets a value that represents the width of the control's content taking into account its horizontal resolution and zoom value.

Public property delayedRefreshTimeout

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

Public property element
Public property events
Public property exceptionDescription

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

Public property height

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

Public property id
Public property isInitialized
Public property isUpdating
Public property maxZoom

Gets the maximum allowed zoom value.

Public property minZoom

Gets the minimum allowed zoom value.

Public property navigator

Gets/sets the navigator control ID (i.e. value stored in the attribute id of the tag that inserts the control).

Public property parent
Public property returnValue

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

Public property rubberband

Gets/sets the rubberband control ID (i.e. value stored in the attribute id of the tag that inserts the control).

Public property rulerEnabled

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

Public property rulerScale

Gets or sets the ruler scale.

Public property rulerWidth

Gets or sets the ruler width.

Public property screenXDpi

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

Public property screenYDpi

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

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.

Public property scrollBarWidth

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

Public property scrollingPosition

Gets/sets the position of the scroll bars.

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).

Public property status

Gets a current Viewer status.

Public property viewportAlignment

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

Public property visibilityMode
Public property visible
Public property width

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

Public property zoom

Gets/sets the current zoom value.

Public property zoomMode

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

Public property zoomQuality

Gets a value that specifies a zoom quality.

See Also

Reference