Windows Ink 平台的组件 使用InkCanvas 的基本墨迹书写 使用InkPresenter 进行基本自定义 显示另外 4 个 Surface 触控笔(可在Microsoft Store购买)。 概述 针对笔输入优化 Windows 应用,以便为用户同时提供标准的指针设备功能和最佳的 Windows Ink 体验。 备注 ...
Defines an area that receives and displays all pen input as either an ink stroke or an erase stroke (input from an eraser tip, or the pen tip when modified with an erase button).
使用InkInputProcessingConfiguration 來識別要傳遞為 UnprocessedInput 的數據。 PenAndInkSettings 在啟用 HandwritingView 時,提供使用者設定的存取權,以在啟用 HandwritingView 時,將筆跡轉換成文字輸入) (。 介面 展開表格 IInkPointFactory 定義產生 InkStroke 建構中使用的 InkPoint 物件的型別實作。 IInkPresen...
Represents a visual stencil, in the form of a straight rule for drawing straight lines, displayed as a semi-transparent overlay on an InkCanvas. The stencil transforms how an ink stroke is rendered: It snaps the ink stroke to the stencil edge if the pen
InkStrokeInput InkStrokeRenderingSegment InkStrokesCollectedEventArgs InkStrokesErasedEventArgs InkSynchronizer InkUnprocessedInput PenAndInkSettings PenHandedness PenTipShape Windows.UI.Input.Inking.Analysis Windows.UI.Input.Inking.Core Windows.UI.Input.Inking.Preview ...
InkPresenter myPresenter = myInkCanvas.InkPresenter; myPresenter.InputDeviceTypes = Windows.UI.Core.CoreInputDeviceTypes.Pen | Windows.UI.Core.CoreInputDeviceTypes.Touch | Windows.UI.Core.CoreInputDeviceTypes.Mouse; InkDrawingAttributes myAttributes = myPresenter.CopyDefaultDrawingAttributes(); myAttributes...
This information, along with settings for pen tip shape, size, and rotation, ink color, and purpose (plain ink, erasing, highlighting, and selecting), enables you to provide user experiences that closely resemble writing or drawing on paper with a pen, pencil, or brush....
PenAndInkSettings 类 参考 反馈 定义 命名空间: Windows.UI.Input.Inking 编辑 ) 启用 HandwritingView 时,提供对与在文本控件中接受墨迹并将其转换为文本输入相关的用户设置的访问 (。 C# 复制 [Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)] [...
// The useHighlighter variable is a boolean that indicates // whether the InkCanvas renders ink as a highlighter. // Switch between using the 'pen' DrawingAttributes and the // 'highlighter' DrawingAttributes. void SwitchHighlighter_Click(Object sender, RoutedEventArgs e) { useHighlighter = !use...
Windows.ApplicationModel.Preview.InkWorkspace Windows.ApplicationModel.Preview.Notes Windows.ApplicationModel.Resources Windows.ApplicationModel.Resources.Core Windows.ApplicationModel.Resources.Management Windows.ApplicationModel.Search Windows.ApplicationModel.Search.Core ...