Share via


IXRStylusPoint::SetPressureFactor (Windows Embedded CE 6.0)

1/6/2010

This method sets the stylus pressure on the screen.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetPressureFactor(
    __in float PressureFactor
) = 0;

Parameters

  • PressureFactor
    [in] Specifies the pressure factor.

Return Values

Returns a standard HRESULT value.

Remarks

The permitted range is 0 (zero) to 1.0. Zero represents no stylus pressure on the screen, and 1.0 represents the highest pressure the stylus driver reports. If your device doesn't support measuring the stylus pressure, the default is 0.5.

.NET Framework Equivalent

System.Windows.Ink.StylusPoint.

Requirements

Header XamlRuntime.h
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRStylusPoint