InkDivider::AddOneStroke Method

[This documentation is preliminary and is subject to change.]
Adds a new IInkStrokeDisp object to the current InkDivider object.

Syntax

HRESULT AddOneStroke(
  [in]  IntPtr hDivider,
  [in]  int strokeId,
  [in]  int cPoints,
  [in]  Array aPoints
);

Parameters

  • hDivider [in]
    A handle to the InkDivider objet.

  • strokeId [in]
    The Id for the IInkStrokeDisp added to the InkDivider object.

  • cPoints [in]
    The number of packets that make up the new IInkStrokeDisp object.

  • aPoints [in]
    The array of packets that make up the InkStrokeDisp object in strokeId

Return Value

The method can return one of the following values.

Return code Description

S_OK

Success

E_INVALIDARG

One or more arguments is invalid

See Also

InkDivider

Send comments about this topic to Microsoft

Build date: 12/5/2008