Share via


PointerPointProperties.Pressure Property

Definition

Gets a value that indicates the force that the pointer device (typically a pen/stylus) exerts on the surface of the digitizer.

public:
 property float Pressure { float get(); };
float Pressure();
public float Pressure { get; }
var single = pointerPointProperties.pressure;
Public ReadOnly Property Pressure As Single

Property Value

Single

float

A value from 0 to 1.0. The default value is 0.5.

Remarks

A device reports pressure information through the Human Interface Device (HID) tip pressure usage. Pressure is set through the value of this usage.

Applies to