Title Banner

Previous Book Contents Book Index Next

Newton Developer Technical Information: Newton Programmer's Guide: 2.1 OS Addendum /
Chapter 11 - Miscellaneous / Reference
Functions and Methods / Recognition


RecognizeTextInStyles

RecognizeTextInStyles(textFrame, defaultFontSpec)

Translates the ink words in a frame containing a combination of raw ink and text.

textFrame
A frame with a text and a styles slot.

defaultFontSpec
A font spec, either an integer or a frame. This the font to use for translated ink. For more information on font specs, see Chapter 8, "Text and Ink Input and Display," in Newton ProgrammerŐs Guide.

return value
If textFrame contains no ink, textFrame is returned. Otherwise a new frame is returned. This frame has a text and a styles slot, containing translated versions of all the ink words.

DISCUSSION

The highest confidence match for each ink word is returned.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
26 APR 1997



Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help