Share via


RECO_LATTICE_PROPERTY Structure

RECO_LATTICE_PROPERTY Structure

Contains a property used in the lattice.

Properties can be stored on a column or an element. For example, the recognizer can store ink line break information about an alternate.

Declaration

[C++]

typedef struct tagRECO_LATTICE_PROPERTY
    {
    GUID guidProperty;
    USHORT cbPropertyValue;
    /* [size_is][unique] */ BYTE *pPropertyValue;
    }     RECO_LATTICE_PROPERTY;

Members

Name Description
guidProperty GUID for the property value that is being assigned.
cbPropertyValue Length in bytes of the pPropertyValue byte array.
pPropertyValue Byte array that points to the property data.

Remarks

There are some predefined property GUIDs defined in the Msinkaut.h header file.

GUID Description
INKRECOGNITIONPROPERTY_CONFIDENCELEVEL The confidence level assigned to the element by the recognizer.
enum enumCONFIDENCE_LEVEL
    {
      CFL_STRONG = 0,
      CFL_INTERMEDIATE = 1,
      CFL_POOR = 2
    }   CONFIDENCE_LEVEL;
INKRECOGNITIONPROPERTY_HOTPOINT For gestures, identifies the part of the stroke that is the hot point. The hot point is the part of the stroke where the associated action is being applied.
INKRECOGNITIONPROPERTY_LINEMETRICS Contains a LATTICE_METRICS structure that holds details about the baseline and midline for the element. To set this property, your recognizer must also set the INKRECOGNITIONPROPERTY_LINENUMBER property.
INKRECOGNITIONPROPERTY_LINENUMBER A ULONG value containing the line that the element belongs to as determined by the recognizer.