Applies to

InkPicture controls


Specifies whether the editing mode of the control is set for drawing ink, editing ink, or deleting ink.


In a painter

To specify the mode of ink collection:

  • Select a value from the EditMode drop-down list on the Ink page in the Properties view.

In scripts

The EditMode property takes a value of the InkPicEditMode enumerated variable. Values are:

  • InkPicDeleteMode! -- Ink is deleted.

  • InkPicInkMode! -- Ink can be drawn (default).

  • InkPicSelectMode! -- Ink is selected for editing.

This example specifies that the InkPicture control delete any ink under the tip of the stylus:

ie_1.EditMode = InkPicDeleteMode!