StylusDevice.InRange 屬性

定義

取得值,這個值表示 Tablet 畫筆是否位於數位板的範圍之內。Gets a value that indicates whether the tablet pen is in range of the digitizer.

public:
 property bool InRange { bool get(); };
public bool InRange { get; }
member this.InRange : bool
Public ReadOnly Property InRange As Boolean

屬性值

如果畫筆位於數位板的範圍之內,則為 true,否則為 falsetrue if the pen is within range of the digitizer; otherwise, false. 預設為 falseThe default is false.

範例

下列範例會示範InRange屬性。The following example demonstrates the InRange property.

textbox1.AppendText("InRange: " + myStylusDevice.InRange.ToString() + "\n");
textbox1.AppendText("InRange: " + myStylusDevice.InRange.ToString() + vbCrLf)

適用於