Click or drag to resize

LOGFONT Fields

The LOGFONT type exposes the following members.

Fields
 NameDescription
Public fieldlfCharSet The character set.
Public fieldlfClipPrecision The clipping precision. The clipping precision defines how to clip characters that are partially outside the clipping region.
Public fieldlfFaceName A string that specifies the typeface name of the font. The length of this string must not exceed 32 TCHAR values, including the terminating NULL. If lfFaceName is an empty string, GDI uses the first font that matches the other specified attributes.
Public fieldlfItalic An italic font if set to TRUE.
Public fieldlfOutPrecision The output precision. The output precision defines how closely the output must match the requested font's height, width, character orientation, escapement, pitch, and font type.
Public fieldlfPitchAndFamily The pitch and family of the font. The two low-order bits specify the pitch of the font.
Public fieldlfQuality The output quality. The output quality defines how carefully the graphics device interface (GDI) must attempt to match the logical-font attributes to those of an actual physical font.
Public fieldlfWeight The weight of the font in the range 0 through 1000. For example, 400 is normal and 700 is bold. If this value is zero, a default weight is used.
Top
See Also