InkPresenter.SetPredefinedConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
virtual void SetPredefinedConfiguration(InkPresenterPredefinedConfiguration value) = SetPredefinedConfiguration;
void SetPredefinedConfiguration(InkPresenterPredefinedConfiguration const& value);
public void SetPredefinedConfiguration(InkPresenterPredefinedConfiguration value);
function setPredefinedConfiguration(value)
Public Sub SetPredefinedConfiguration (value As InkPresenterPredefinedConfiguration)
Parameters
The inking behavior of one or more contact points. The default is SimpleSinglePointer.
SimpleSinglePointer specifies that single pointer inking is supported.
SimpleMultiplePointer specifies that multi-pointer inking is supported.
Note
Multi-pointer inking requires ink input to be processed in custom drying mode. ActivateCustomDrying must be called before setting SetPredefinedConfiguration to SimpleMultiplePointer.
Remarks
Error codes
E_ILLEGAL_METHOD_CALL (0x8000000E)
Thrown if multi-pointer inking is enabled through SetPredefinedConfiguration before ActivateCustomDrying is called.
E_INVALIDARG (0x80070057)
An invalid parameter was specified.
Applies to
See also
- Pen and stylus interactions
- Get started: Support ink in your UWP app
- Ink analysis sample (basic) (C#)
- Ink handwriting recognition sample (C#)
- Save and load ink strokes from an Ink Serialized Format (ISF) file
- Save and load ink strokes from the clipboard
- Ink toolbar location and orientation sample (basic)
- Ink toolbar location and orientation sample (dynamic)
- Coloring book sample
- Family notes sample
- Inking sample (JavaScript)
- Simple inking sample (C#/C++)
- Complex inking sample (C++)
- Ink analysis sample