The CanvasViewer type exposes the following members.
| Name | Description | |
|---|---|---|
|
|
dispose |
Removes the current CanvasViewer from the application. |
|
|
initialize |
Initializes the current CanvasViewer object. |
|
|
lockViewer |
Shows a semi-transparent rectangle over the CanvasViewer. |
|
|
unlockViewer |
Hides the semi-transparent rectangle when it is shown over the CanvasViewer. |
| Name | Description | |
|---|---|---|
|
|
actualSizeHorizontalScale |
Gets value which represents the ratio of screen horizontal resolution to the canvas resolution. |
|
|
actualSizeVerticalScale |
Gets value which represents the ratio of screen vertical resolution to the canvas resolution. |
|
|
canvas |
Gets the Canvas associated with this CanvasViewer. |
|
|
canvasId |
Gets or sets a unique identifier of the Canvas associated with this CanvasViewer. |
|
|
clearSelectionOnDocumentClick | |
|
|
contentHeight |
Gets a value that represents the height (in pixels) of the CanvasViewer content taking into account the screen vertical resolution and zoom value. |
|
|
contentWidth |
Gets a value that represents the width (in pixels) of the CanvasViewer content taking into account the screen horizontal resolution and zoom value. |
|
|
modalBgClass |
Gets modal background class name. |
|
|
workspaceHeight |
Gets a value that represents the height (in pixels) of the Canvas associated with this CanvasViewer. |
|
|
workspaceWidth |
Gets a value that represents the width (in pixels) of the Canvas associated with this CanvasViewer. |