Dela via


PenAndInkSettings Class

Definition

Provides access to user settings related to accepting and converting ink to text input in a text control (when HandwritingView is enabled).

public ref class PenAndInkSettings sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PenAndInkSettings final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PenAndInkSettings
Public NotInheritable Class PenAndInkSettings
Inheritance
Object Platform::Object IInspectable PenAndInkSettings
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Properties

FontFamilyName

Gets the font used for converting ink to text input in a text control (when HandwritingView is enabled).

HandwritingLineHeight

Gets the handwriting space available when using ink for text input in a text control (when HandwritingView is enabled).

IsHandwritingDirectlyIntoTextFieldEnabled

Gets whether ink can be used for text input in a text control (when HandwritingView is enabled).

IsTouchHandwritingEnabled

Gets whether touch inking can be used for text input in a text control (when HandwritingView is enabled).

PenHandedness

Gets the user's preferred hand (left or right) for pen and ink input, and related UI.

UserConsentsToHandwritingTelemetryCollection

Gets whether ink/handwriting input telemetry data can be collected and sent to Microsoft for improving recognition and suggestion capabilities.

Methods

GetDefault()

Creates a PenAndInkSettings object with default property values.

SetPenHandedness(PenHandedness)

Sets the user's preferred hand (left or right) for pen and ink input, and related UI.

Applies to

See also