StylusDevice.InRange Property

Definition

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

Property Value

true if the pen is within range of the digitizer; otherwise, false. The default is false.

Examples

The following example demonstrates the InRange property.

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

Applies to