Layout Analysis

Layout analysis operates on a Strokes collection and classifies the strokes into handwriting and drawing elements. The Divider object provides access to the Tablet PC layout analysis features.

The following table describes the structural element types of the InkDivisionType enumeration into which the Divider object classifies strokes.

Type Description
Segment A recognition segment.
Line A line of handwriting that contains one or more recognition segments.
Paragraph A block of strokes that contains one or more lines of handwriting.
Drawing Ink that is not handwriting.

The Divider object has a Strokes collection, which the Divider object dynamically analyzes each time you add to or delete from the collection. The Divider object is not serializable, and you cannot save its analysis state. Thus the Divider object is designed for applications that must differentiate between mixed handwriting and drawing input, but do not need to reanalyze large amounts of ink between sessions.

You can obtain a static snapshot of the current analysis result, which is returned in a DivisionResult object. You can obtain DivisionUnit objects, each which represents a single structural element of a DivisionResult object. The DivisionResult and DivisionUnit objects are not serializable. However, state information from these objects is available.

The Divider object works only with left-to-right handwriting. For the Divider object to analyze vertical languages such as Chinese correctly, the characters must be drawn left-to-right instead of top-to-bottom.