Share via


Windows XP Media Center Edition SDK Font Sizes 

banner art
Previous Next

Font Sizes

The Triple-tap/Soft-keyboard control includes the following properties that you can use to specify the sizes of the fonts that the control uses for its candidate lists, input text box, soft keyboard, and character map.

Each of the preceding properties takes a string that specifies the font size. The string can specify an absolute size, a relative size, a length value, or a percentage, as follows:

Type of value Description
absolute size A keyword indicating a predefined font size. The font is scaled according to the user's font setting preferences. Possible values include:
  • "xx-small"
  • "x-small"
  • "small"
  • "medium"
  • "large"
  • "x-large"
  • "xx-large"
relative size A keyword that is interpreted as a size relative to the font size of the parent object. Possible values include:
  • "larger"
  • "smaller"
length A floating point number followed by an absolute units designator (cm, mm, in, pt, pc, or px) or a relative units designator (em or ex). If no units designator is specified, points (pt) are used. For more information, see CSS Length Units Reference.
percentage An integer followed by the percent sign (%). The value is a percentage of the parent object's font size.

See Also

Previous Next

© 2005 Microsoft Corporation. All rights reserved.