The Canvas type exposes the following members.
Name | Description | |
---|---|---|
alignVObject |
Aligns the specified v-object. |
|
controlToWorkspace |
Translates coordinates from the control-related coordinate system to the workspace-related one. |
|
deleteCurrentVObject |
Delete the currently selected v-object and shows a confirmation dialog if needed. |
|
dispose |
Removes the current Canvas from the application. |
|
initialize |
Initializes the current Canvas object. |
|
invokeRemoteMethod |
Runs the specified remote method on the server. |
|
raiseKeyDown |
Raises the key down event. |
|
raiseKeyUp |
Raises the key up event. |
|
raiseMouseDown |
Raises the mouse down event. |
|
raiseMouseMove |
Raises the mouse move event. |
|
raiseMouseUp |
Raises the mouse up event. |
|
redraw |
Redraws the canvas. |
|
workspaceToControl |
Translates coordinates from the workspace-related coordinate system to the control-related one. |
Name | Description | |
---|---|---|
canvasClientSideOptions |
Gets values which configure automatic postback for individual events. |
|
constrainedMarginEnabled |
Gets or sets the value indicating whether it is possible to move v-objects beyond the bounds of the canvas. |
|
currentLayer |
Gets the currently selected layer. |
|
currentLayerIndex |
Gets or sets an index of the currently selected layer. |
|
currentVObject |
Gets the currently selected v-object. |
|
currentVObjectIndex |
Gets or sets an index of the currently selected v-object. |
|
data |
Gets or sets serialized data of this canvas. |
|
height |
Gets the height of the canvas taking into account screen vertical resolution and zoom value. |
|
history |
Gets a History object associated with this canvas. |
|
isSquaredBackground |
Gets or sets the value indicating if the background of the canvas is squared. |
|
keyEventEnabled |
Gets or sets the value indicating whether the both key-up and key-down events are enabled. |
|
layers |
Gets a collection of layers associated with this canvas. |
|
margin |
Gets or sets the outer margin of the canvas. |
|
marginColor |
Gets or sets a color of the outer margin of the canvas. |
|
marginWidth |
Gets or sets a width of the outer margin of the canvas. |
|
previewColorManagementEnabled |
Gets or sets the value indicating whether to use color management when displaying images. |
|
printColorManagementEnabled |
Gets or sets the value indicating whether to use color management when rendering the workspace. |
|
resizeGripColor |
Gets or set the resize grip color. |
|
resizeGripSize |
Gets or set the resize grip width. |
|
returnValue |
Gets the value returned by a remote scripting method. |
|
rotationGripColor |
Gets or set the rotation grip color. |
|
rotationGripSize |
Gets or set the rotation grip width. |
|
screenXDpi |
Gets a horizontal resolution in DPI used to show the canvas in a browser. |
|
screenYDpi |
Gets a vertical resolution in DPI used to show the canvas in a browser. |
|
status |
Gets a current bitmap status. |
|
tags |
Gets or sets custom data. |
|
width |
Gets the width of the canvas taking into account screen horizontal resolution and zoom value. |
|
workspaceHeight |
Gets or sets the height of the canvas. |
|
workspaceWidth |
Gets or sets the width of the canvas. |
|
zoom |
Gets or sets the current zoom value. |
Name | Description | |
---|---|---|
callbackException |
Fires when the callback threw an exception. |
|
currentLayerChanged |
Fires when the currently selected layer is changed. |
|
currentVObjectChanged |
Fires when the currently selected v-object is changed. |
|
currentVObjectDeleting |
Fires when the currently selected v-object is about to be deleted. |
|
initialized |
Fires when the the canvas is initialized. |
|
invokingCallbackRequest |
Fires before the callback is initiated by the canvas. |
|
requestComplete |
Fires when the request is completed. |
|
sendingRequest |
Fires when the request is about to be sent. |
|
statusChanged |
Fires when the bitmap status is changed. |
|
vObjectCreated |
Fires when a v-object is created. |
|
zoomChanged |
Fires when zoom of the canvas is changed. |