Share via


IInkStrokeDisp::GetPoints

4/8/2010

Gets the points that make up an IInkStrokeDisp stroke object.

Syntax

HRESULT GetPoints (
  [in, optional, defaultvalue(ISC_FirstElement)] long startingIndex,
  [in, optional, defaultvalue(ISC_AllElements)] long pointCount,
  [out, retval] VARIANT *Points
);

Parameters

  • startingIndex
    The starting index within the array of points that make up the stroke. The default value, ItemSelectionConstants.ISC_FirstElement, specifies the first point.
  • pointCount
    The number of points to return. The default value, ItemSelectionConstants.ISC_AllElements, specifies all of the points that make up the stroke data.

Return Value

HRESULT value Description

S_OK

Success.

E_POINTER

A parameter contained an invalid pointer.

E_OUTOFMEMORY

Cannot allocate memory for the points.

E_INVALIDARG

Invalid index (out of range).

E_INK_EXCEPTION

An exception occurred inside the method.

E_UNEXPECTED

Unexpected parameter or property type.

Requirements

Header msinkaut.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later

See Also

Concepts

Windows Mobile Ink Reference