This documentation is archived and is not being maintained.

StylusDataBase.SetData Method

Replaces the packet data.

Namespace:  Microsoft.StylusInput.PluginData
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

public virtual void SetData(
	int[] value
)

Parameters

value
Type: System.Int32[]

Integer array containing the new packet data.

Call this method with null (Nothing in Microsoft® Visual Basic® .NET) as the argument to cancel the packet.

NoteNote:

This method calls the VerifyPacketData method to verify that the value parameter contains an array with a valid number of elements. However, the VerifyPacketData method does not verify the individual values of the elements of the array. Use the TabletPropertyDescriptionCollection collection returned by the RealTimeStylus object's GetTabletPropertyDescriptionCollection method to check that the new values are within the appropriate range for the given packet property.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.0
Show: