IInkStrokeDisp::get_PolylineCusps method (msinkaut.h)

Gets an array that contains the indices of the cusps of the IInkStrokeDisp object.

This property is read-only.

Syntax

HRESULT get_PolylineCusps(
  VARIANT *Cusps
);

Parameters

Cusps

Return value

None

Remarks

The array returned by the PolylineCusps property is an index into the array returned by the GetPoints method. Each index in the PolylineCusps property corresponds to a point in the array returned by the GetPoints method that is a cusp of the points of the stroke.

A cusp is a point on the stroke where the direction of writing changes in a discontinuous fashion. For example, if the stroke represents the capital letter "L", this property returns three cusps: two corresponding to the first and last control points on the stroke and the third representing the corner of the "L".

The location of a cusp can be determined by using the cusp as an index into the array returned by the GetPoints method.

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header msinkaut.h
Library InkObj.dll

See also

GetPoints Method

IInkStrokeDisp Interface