PacketCount Property

PacketCount Property

Gets the number of packets received for a IInkStrokeDisp object.

Declaration

[C++]

[C++]

[propget] HRESULT get_PacketCount (
    [out, retval] long* PacketCount
);

      

[Microsoft® Visual Basic® 6.0]

[Visual Basic]

Public Property Get PacketCount() As Long

      

Property Value

long The number of packets received for a IInkStrokeDisp object.

This property is read-only.

Return Value

HRESULT value Description
S_OK Success.
E_POINTER The parameter pointer was invalid.
E_INK_EXCEPTION An exception occurred inside the method.
E_UNEXPECTED Unexpected parameter or property type.

Example

[Visual Basic 6.0]

This Visual Basic 6.0 example returns the count of points in a Stroke.

Dim thePacketCount As Long
thePacketCount = theStroke.PacketCount

Applies To