|
- 0
Removes strokes from an HPENDATA object.
int RemovePenDataStrokes( HPENDATA hpndt, UINT iStrk, UINT cStrks )
Parameters
hpndt
Handle to the HPENDATA object.
iStrk
Zero-based index of the first stroke to remove. This value can be IX_END to
remove the last stroke. The function fails if iStrk is greater than the number of strokes in the pen data object.
cStrks
Count of strokes to remove. If this value is greater than the number of
strokes after the specified stroke index, the stroke indexed by iStrk and all following strokes are removed. cStrks can be IX_END to remove all strokes from iStrk onward.
Return Value
Returns PDR_OK if successful; otherwise, the return value can be one of the
following negative values:
Constant
| Description
| PDR_COMPRESSED
| Pen data is compressed.
| PDR_ERROR
| Parameter or other unspecified error.
| PDR_MEMERR
| Out of memory.
| PDR_PNDTERR
| Invalid pen data object.
| PDR_STRKINDEXERR
| Invalid stroke index.
| PDR_VERSIONERR
| Could not convert old pen data object.
|
Comments
RemovePenDataStrokes removes the number of strokes specified by cStrks, starting at the stroke specified by iStrk. Use ExtractPenDataPoints to remove points from a particular stroke of the pen data object.
See Also
ExtractPenDataPoints, InsertPenDataPoints, InsertPenDataStroke
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|