CanvasViewer Members

The CanvasViewer type exposes the following members.

Methods

Name Description
Public method dispose

Removes the current CanvasViewer from the application.

Public method initialize

Initializes the current CanvasViewer object.

Public method lockViewer

Shows a semi-transparent rectangle over the CanvasViewer.

Public method unlockViewer

Hides the semi-transparent rectangle when it is shown over the CanvasViewer.

Properties

Name Description
Public property actualSizeHorizontalScale

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

Public property actualSizeVerticalScale

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

Public property canvas

Gets the Canvas associated with this CanvasViewer.

Public property canvasId

Gets or sets a unique identifier of the Canvas associated with this CanvasViewer.

Public property clearSelectionOnDocumentClick
Public property contentHeight

Gets a value that represents the height (in pixels) of the CanvasViewer content taking into account the screen vertical resolution and zoom value.

Public property contentWidth

Gets a value that represents the width (in pixels) of the CanvasViewer content taking into account the screen horizontal resolution and zoom value.

Public property modalBgClass

Gets modal background class name.

Public property workspaceHeight

Gets a value that represents the height (in pixels) of the Canvas associated with this CanvasViewer.

Public property workspaceWidth

Gets a value that represents the width (in pixels) of the Canvas associated with this CanvasViewer.

See Also

Reference