次の方法で共有


XRFontWeight (Windows Embedded CE 6.0)

1/6/2010

This structure contains values that each indicate the density of a font, as measured by the lightness or heaviness of the strokes.

Syntax

enum XRFontWeight{
    XRFontWeight_Thin=100,
    XRFontWeight_ExtraLight=200,
    XRFontWeight_Light=300,
    XRFontWeight_Normal=400,
    XRFontWeight_Medium=500,
    XRFontWeight_SemiBold=600,
    XRFontWeight_Bold=700,
    XRFontWeight_ExtraBold=800,
    XRFontWeight_Black=900,
    XRFontWeight_ExtraBlack=950
};

Members

  • XRFontWeight_Thin
    usWeightClass 100
  • XRFontWeight_ExtraLight
    usWeightClass 200
  • XRFontWeight_Light
    usWeightClass 300
  • XRFontWeight_Normal
    usWeightClass 400
  • XRFontWeight_Medium
    usWeightClass 500
  • XRFontWeight_SemiBold
    usWeightClass 600
  • XRFontWeight_Bold
    usWeightClass 700
  • XRFontWeight_ExtraBold
    usWeightClass 800
  • XRFontWeight_Black
    usWeightClass 900
  • XRFontWeight_ExtraBlack
    usWeightClass 950

Remarks

A font weight describes the visual weight of a font. Weight differences are largely a result of varying the line thickness of the strokes in the glyphs of a font, but several other factors are involved in crafting fonts of different weights in a font family.

The members of XRFontWeight correspond to the usWeightClass definition in the OpenType specification. The usWeightClass represents an integer value between 1 and 999. Lower values indicate lighter weights; higher values indicate heavier weights.

.NET Framework Equivalent

System.Windows.FontWeights

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Silverlight for Windows Embedded Enumerations