RecognizeTextInStyles
RecognizeTextInStyles(textFrame, defaultFontSpec)
Translates the ink words in a frame containing a combination of raw ink and text.
DISCUSSION
- textFrame
- A frame with a
text
and astyles
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 astyles
slot, containing translated versions of all the ink words.
The highest confidence match for each ink word is returned.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help