InjectedInputPenInfo クラス

定義

プログラムによって生成されたペン入力を表します。

public ref class InjectedInputPenInfo sealed
/// [Windows.Foundation.Metadata.Activatable(196608, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
class InjectedInputPenInfo final
[Windows.Foundation.Metadata.Activatable(196608, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public sealed class InjectedInputPenInfo
function InjectedInputPenInfo()
Public NotInheritable Class InjectedInputPenInfo
継承
Object Platform::Object IInspectable InjectedInputPenInfo
属性

Windows の要件

デバイス ファミリ
Windows 10 Anniversary Edition (10.0.14393.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v3.0 で導入)

基本的な入力と入力の挿入を示すダウンロード可能なサンプルをいくつか次に示します。

注釈

重要

この名前空間の API には、inputInjectionBrokered 制限付き機能が必要です。

入力インジェクションを使用するには、Package.appxmanifest に以下を追加する必要があります。

  • 宛先 <Package>
    • xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
    • IgnorableNamespaces="rescap"
  • 宛先 <Capabilities>
    • <rescap:Capability Name="inputInjectionBrokered" />

コンストラクター

InjectedInputPenInfo()

挿入するペン入力を指定するために使用する新しい InjectedInputPenInfo オブジェクトを作成します。

プロパティ

PenButtons

ペン ボタンのオプションを取得または設定します。

PenParameters

ペン入力をシミュレートするために使用されるペンの状態を取得または設定します。

PointerInfo

ペン入力に共通する基本的なポインター情報を取得または設定します。

Pressure

デジタイザーの表面にあるポインター デバイスによって実行される力を取得または設定します。

Rotation

ポインターの時計回りの回転 (ねじれ) を取得または設定します。

TiltX

x 軸に沿ったポインターの傾きの角度を取得または設定します。

TiltY

y 軸に沿ったポインターの傾きの角度を取得または設定します。

適用対象

こちらもご覧ください