Share via


InkPresenter.SetPredefinedConfiguration Method

Definition

Sets the inking behavior of one or more contact points on the associated InkCanvas control.

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

value
InkPresenterPredefinedConfiguration

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