InkCanvas Window Messages
4/8/2010
This section contains the Window Messages used by the InkCanvas control.
Message | Description |
---|---|
Returns the current editing mode – inking, selection or eraser. |
|
Sets the editing mode. |
|
Returns a reference to the ink object. |
|
Returns the ink data. |
|
Returns the ink data as a bitmap. |
|
Loads the supplied ink data. |
|
Clears the canvas. |
|
Returns the current pen style. |
|
Set the pen style. |
|
Sets the background color. |
|
Returns if data can be copied to the clipboard. |
|
Returns if data can be pasted from the clipboard. |
|
Returns if an action can be undone. |
|
Returns if an action can be redone. |
|
Returns the current zoom level. |
|
Sets the current zoom level. |
|
Returns the current canvas size. |
|
Sets the canvas size. |
|
Redoes the last undo action. |
|
Undoes the last action that can be undone. |
|
Sets the canvas color. |
|
Erases all of the ink on the canvas. |
|
Sets the autoscroll property of the canvas. |
|
Sets the autoexpand property of the canvas. |
|
Returns the number of actions that can be undone. |
|
Returns the current notification mask. |
|
Sets the mask for notifications that have to be received. |
The following Windows Mobile messages are also used.
Method | Description |
---|---|
Copies data to the clipboard. |
|
Cuts the data to the clipboard. |
|
Pastes data from the clipboard. |