IXRStylusPoint::SetPressureFactor (Compact 2013)
3/28/2014
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.Input.StylusPoint.PressureFactor
Requirements
Header |
XamlRuntime.h |
sysgen |
SYSGEN_XAML_RUNTIME |