Freigeben über


Stroke.GetPacketData Method

Stroke.GetPacketData Method

Returns the packet data for all packets in the Stroke object.

Definition

Visual Basic .NET Public Function GetPacketData() As Integer()
C# public int[] GetPacketData();
Managed C++ public: int* GetPacketData() __gc[];

Return Value

System.Int32[]. Returns a signed 32-bit integer array containing the packet data for the requested points in the Stroke object. The array contains the data for the first point, then the data for the second point, and so on.

Remarks

To retrieve the description of the packet data, use the Stroke object's PacketDescription property. This property returns an array of globally unique identifiers (GUIDs) that indicate which property values are returned by the GetPacketData method for each point. The PacketProperty structure contains the available packet property GUIDs.

Examples

[C#]

This C# example gets the packet data for all points in the Stroke object, theStroke.

int[] thePacketData = theStroke.GetPacketData();
                

[VB.NET]

This Microsoft® Visual Basic® .NET example gets the packet data for all points in the Stroke object, theStroke.

Dim thePacketData() As Integer = theStroke.GetPacketData()
                

See Also