次の方法で共有


RealTimeStylus コンストラクタ (Control)

RealTimeStylus クラスの新しいインスタンスを初期化し、指定したコントロールに結合します。

名前空間 :  Microsoft.StylusInput
アセンブリ :  Microsoft.Ink (Microsoft.Ink.dll 内)

構文

'宣言
Public Sub New ( _
    attachedControl As Control _
)
'使用
Dim attachedControl As Control

Dim instance As New RealTimeStylus(attachedControl)
public RealTimeStylus(
    Control attachedControl
)
public:
RealTimeStylus(
    Control^ attachedControl
)
public RealTimeStylus(
    Control attachedControl
)
public function RealTimeStylus(
    attachedControl : Control
)

パラメータ

  • attachedControl
    型 : System.Windows.Forms.Control
    RealTimeStylus オブジェクトをアタッチするコントロール。このパラメータを null (Microsoft Visual Basic .NET の場合は Nothing) に設定すると、コンストラクタは例外をスローします。

解説

新しい RealTimeStylus オブジェクトの場合、初期状態でインク収集は無効で、入力領域は RealTimeStylus オブジェクトがアタッチされたウィンドウの境界に設定されます。詳細については、Enabled プロパティと WindowInputRectangle プロパティのトピックを参照してください。

プラットフォーム

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 3.0

参照

参照

RealTimeStylus クラス

RealTimeStylus メンバ

RealTimeStylus オーバーロード

Microsoft.StylusInput 名前空間

Microsoft.Ink.Tablet