Compartilhar via


InkMode Property

InkMode Property

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

Declaration

[C++]

[propput] HRESULT put_InkMode ([in] InkMode Mode);
[propget] HRESULT get_InkMode ([out, retval] InkMode* Mode);

[Microsoft® Visual Basic® 6.0]

Public Property Get InkMode() As InkMode
Public Property Let Columns(ByVal theInkMode As InkMode)

Property Value

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

Name Description
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.

This property is read/write.

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 that doesn't have recognizers present. If used on a system that has Windows XP Tablet PC Edition, 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.

Applies To