共用方式為


LOGFONTW Members

Include Protected Members
Include Inherited Members

Specifies the attributes of a font.

The LOGFONTW type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field lfCharSet Specifies the character set.
Public field lfClipPrecision Specifies the clipping precision.
Public field lfEscapement Specifies the angle, in tenths of degrees, between the escapement vector and the x-axis of the device.
Public field lfFaceName A null-terminated string that specifies the typeface name of the font.
Public field lfHeight Specifies the height, in logical units, of the font's character cell or character.
Public field lfItalic Specifies an italic font if set to true.
Public field lfOrientation Specifies the angle, in tenths of degrees, between each character's base line and the x-axis of the device.
Public field lfOutPrecision Specifies the output precision.
Public field lfPitchAndFamily Specifies the pitch and family of the font.
Public field lfQuality Specifies the output quality.
Public field lfStrikeOut Specifies a strikeout font if set to true.
Public field lfUnderline Specifies an underline font if set to true.
Public field lfWeight Specifies the weight of the font in the range 0 through 1000.
Public field lfWidth Specifies the average width, in logical units, of characters in the font.

Top

See Also

Reference

LOGFONTW Structure

Microsoft.VisualStudio.Shell.Interop Namespace