InkEdit.InkMode property

Gets or sets a value that specifies whether ink collection is disabled, ink is collected, or ink and gestures are collected.

This property is read/write.

Syntax


HRESULT put_InkMode(
  [in]          InkMode newVal
);

HRESULT get_InkMode(
  [out, retval] InkMode *pVal
);

Property value

A value using the InkMode enumeration type, which specifies whether ink collection is disabled, ink is collected, or ink and gestures are collected.

ValueMeaning
Disabled

Ink collection is disabled. No strokes are created when in this mode.

Ink

Only ink is collected, creating a stroke.

InkAndGesture

Default. Ink is collected and single-stroke gestures are accepted.

 

Remarks

The value of this property is always Disabled if it is used on a system that has Microsoft Windows XP Tablet PC Edition installed but no recognizers are present. If used on a system with Windows Vista or Windows XP Tablet PC Edition installed, the value can be set to any of the values in the InkMode enumeration type.

This property should be changed only if the Status property returns IES_Idle.

Requirements

Minimum supported client

Windows XP Tablet PC Edition [desktop apps only]

Minimum supported server

None supported

Header

Inked.h (also requires inked_i.c)

Library

InkEd.dll

See also

InkEdit
InkMode Enumeration

 

 

Show: