Important: The information in this document is obsolete and should not be used for new development.
Text Style Record
Text style records are used for communicating character attribute information between the application and several TextEdit routines, such asTEContinuousStyle
andTEReplaceStyle
. They carry the same information as the style element records in the style table, but without the reference count, line height, and font ascent.The
TextStyle
data type defines a text style record.
TYPE TextStyle = RECORD tsFont: Integer; {font family number} tsFace: Style; {character style} tsSize: Integer; {size in points} tsColor: RGBColor; {absolute RGB color} END; TextStylePtr = ^TextStyle; TextStyleHandle = ^TextStylePtr;
Field Description
tsFont
- The font family number.
tsFace
- The character style (bold, italic, plain, and so forth).
tsSize
- The text size in points.
tsColor
- The RGB (red, green, blue) color.