IInkStrokeDisp::GetPoints method (msinkaut.h)
Retrieves the points that make up a stroke.
Syntax
HRESULT GetPoints(
[in, optional] long Index,
[in, optional] long Count,
[out, retval] VARIANT *Points
);
Parameters
[in, optional] Index
Optional. The starting index within the array of points that make up the stroke. The default value ISC_FirstElement, defined in the InkSelectionConstants enumeration type, specifies the first point.
[in, optional] Count
Optional. The number of points to return. The default value ISC_AllElements, defined in the InkSelectionConstants enumeration type, specifies all of the points that make up the stroke data.
[out, retval] Points
When this method returns, contains the array of points from the stroke.
For more information about the VARIANT structure, see Using the COM Library.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
A parameter contained an invalid pointer. |
|
Cannot allocate memory for the points. |
|
Invalid index (out of range). |
|
An exception occurred inside the method. |
|
Unexpected parameter or property type. |
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 |