RECO_LATTICE_COLUMN structure (rectypes.h)

Represents a column in the lattice.

Syntax

typedef struct tagRECO_LATTICE_COLUMN {
  ULONG                   key;
  RECO_LATTICE_PROPERTIES cpProp;
  ULONG                   cStrokes;
  ULONG                   *pStrokes;
  ULONG                   cLatticeElements;
  RECO_LATTICE_ELEMENT    *pLatticeElements;
} RECO_LATTICE_COLUMN;

Members

key

Unused. Should be set to 0 (zero).

cpProp

Holds the properties for the column.

cStrokes

Count of strokes in the pStrokes array for the longest element in the column.

pStrokes

An array of stroke indices in the order in which they were fed to the recognizer. For example, imagine you have two strokes, stroke one containing the word "back" and stroke two containing the word "door". The column containing "back" will have a strokes array containing one ULONG {0}. The column for "door" will have a strokes array containing two ULONG items {1,2}.

cLatticeElements

Number of members in pLatticeElements.

pLatticeElements

Array of RECO_LATTICE_ELEMENT structures.

Remarks

There is one column per recognition segment. Each column contains one or more elements. An element is usually a word or character that is a recognition alternate. Elements start with the same stroke index, but do not necessarily contain the same number of strokes (for example, see column 0 in the "together" example). The structure also holds properties that are valid for the whole column.

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Header rectypes.h

See also

AddStroke Function

RECO_LATTICE_ELEMENT Structure