![]() |
Text Styling Constants |
Header: TextEdit.h |
enum { doFont = 1, doFace = 2, doSize = 4, doColor = 8, doAll = 15, addSize = 16, doToggle = 32 };
Sets the font family ID
Sets the character style
Sets the type size
Sets the color
Sets all attributes
Increases or decreases the current type size
Modifies the mode
You can use these constants (singly or in combination) to specify character attributes, through the mode parameter of the TEContinuousStyle, TESetStyle, and TEReplaceStyle functions.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)