StylusDataBase.SetData Method
Replaces the packet data.
Namespace: Microsoft.StylusInput.PluginData
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Overridable Sub SetData ( _
value As Integer() _
)
'Usage
Dim instance As StylusDataBase
Dim value As Integer()
instance.SetData(value)
public virtual void SetData(
int[] value
)
public:
virtual void SetData(
array<int>^ value
)
public function SetData(
value : int[]
)
Parameters
value
Type: array<System.Int32[]Integer array containing the new packet data.
Remarks
Call this method with nulla null reference (Nothing in Visual Basic) (Nothing in Microsoft® Visual Basic® .NET) as the argument to cancel the packet.
Note
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.
Platforms
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.
Version Information
.NET Framework
Supported in: 3.0