CreateInksetHRCRESULT 

2.0     

Creates an inkset from parts of a recognition result.

HINKSET CreateInksetHRCRESULT( HRCRESULT hrcresult, UINT iSyv, UINT cSyv )

Parameters

hrcresult

Handle of an HRCRESULT object.

iSyv

Index to first symbol for inkset.

cSyv

Count of symbols.

Return Value

Returns the handle of a newly created inkset if successful. If the index to the first symbol iSyv is invalid, or some other error occurs, the return value is NULL.

Comments

The inkset spans a series of continuous symbols; disjoint sets are not allowed. Before terminating, the calling application must destroy the HINKSET object by calling DestroyInkset1AOBU9.

If the range of symbols specified by iSyv + cSyv exceeds the number of symbols available, the returned inkset is valid only for available symbols. This is not an error, so it is possible to assign cSyv a large value to get an inkset for all symbols after iSyv.

For a description of inksets, see  The HINKSET Object  in Chapter 4,  The Inking Process. 

See Also

DestroyInkset, GetResultsHRC