Predefined Font Attributes

The following values identify font attributes obtained with the ITfContext::GetAppProperty method. The data format and contents of each property type are included.

Properties

Property Description
TSATTRID_Font Not used.
TSATTRID_Font_FaceName Contains the face name of the text font.
TSATTRID_Font_SizePts Contains the point size of the text font.
TSATTRID_Font_Style Not used.
TSATTRID_Font_Style_Animation Not used.
TSATTRID_Font_Style_Animation_BlinkingBackground Contains a nonzero value if the text has the specified animation or zero otherwise.
TSATTRID_Font_Style_Animation_LasVegasLights Contains a nonzero value if the text has the specified animation or zero otherwise.
TSATTRID_Font_Style_Animation_MarchingBlackAnts Contains a nonzero value if the text has the specified animation or zero otherwise.
TSATTRID_Font_Style_Animation_MarchingRedAnts Contains a nonzero value if the text has the specified animation or zero otherwise.
TSATTRID_Font_Style_Animation_Shimmer Contains a nonzero value if the text has the specified animation or zero otherwise.
TSATTRID_Font_Style_Animation_SparkleText Contains a nonzero value if the text has the specified animation or zero otherwise.
TSATTRID_Font_Style_Animation_WipeDown Contains a nonzero value if the text has the specified animation or zero otherwise.
TSATTRID_Font_Style_Animation_WipeRight Contains a nonzero value if the text has the specified animation or zero otherwise.
TSATTRID_Font_Style_BackgroundColor Contains the RGB value of the text background. Contains 0xFF000000 if the text color is automatic.
TSATTRID_Font_Style_Blink Contains a nonzero value if the text is blinking or zero otherwise.
TSATTRID_Font_Style_Bold Contains a nonzero value if the text is bold or zero otherwise.
TSATTRID_Font_Style_Capitalize Contains a nonzero value if the text is capitalized or zero otherwise.
TSATTRID_Font_Style_Color Contains the RGB value of the text color. Contains 0xFF000000 if the text color is automatic.
TSATTRID_Font_Style_Emboss Contains a nonzero value if the text is embossed or zero otherwise.
TSATTRID_Font_Style_Engrave Contains a nonzero value if the text is engraved or zero otherwise.
TSATTRID_Font_Style_Height Contains the font height. For more information, see the lfHeight member of the LOGFONT structure.
TSATTRID_Font_Style_Hidden Contains a nonzero value if the text is hidden or zero otherwise.
TSATTRID_Font_Style_Italic Contains a nonzero value if the text is italic or zero otherwise.
TSATTRID_Font_Style_Kerning Contains the minimum kerning size. For more information, see ITextFont::GetKerning.
TSATTRID_Font_Style_Lowercase Contains a nonzero value if the text is lowercase or zero otherwise.
TSATTRID_Font_Style_Outlined Contains a nonzero value if the text is outlined or zero otherwise.
TSATTRID_Font_Style_Overline Contains a nonzero value if the text is overlined or zero otherwise.
TSATTRID_Font_Style_Overline_Double Contains a nonzero value if the text is double overlined or zero otherwise.
TSATTRID_Font_Style_Overline_Single Contains a nonzero value if the text is single overlined or zero otherwise.
TSATTRID_Font_Style_Position Contains the font position.
TSATTRID_Font_Style_Protected Contains a nonzero value if the text is protected or zero otherwise.
TSATTRID_Font_Style_Shadow Contains a nonzero value if the text is shadowed or zero otherwise.
TSATTRID_Font_Style_SmallCaps Contains a nonzero value if the text is lowercase or zero otherwise.
TSATTRID_Font_Style_Spacing Contains the font spacing.
TSATTRID_Font_Style_Strikethrough Not used.
TSATTRID_Font_Style_Strikethrough_Double Contains a nonzero value if the text is double strikethrough or zero otherwise.
TSATTRID_Font_Style_Strikethrough_Single Contains a nonzero value if the text is single strikethrough or zero otherwise.
TSATTRID_Font_Style_Subscript Contains a nonzero value if the text is subscript or zero otherwise.
TSATTRID_Font_Style_Superscript Contains a nonzero value if the text is superscript or zero otherwise.
TSATTRID_Font_Style_Underline Contains a nonzero value if the text is underlined or zero otherwise.
TSATTRID_Font_Style_Underline_Double Contains a nonzero value if the text is double underlined or zero otherwise.
TSATTRID_Font_Style_Underline_Single Contains a nonzero value if the text is single underlined or zero otherwise.
TSATTRID_Font_Style_Uppercase Contains a nonzero value if the text is uppercase or zero otherwise.
TSATTRID_Font_Style_Weight Contains the font weight. For more information about possible values, see the lfWeight member of the LOGFONT structure.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Redistributable
TSF 1.0 on Windows 2000 Professional
Header
TsAttrid.h

See also

ITfContext::GetAppProperty