LOGFONTW Structure

Specifies the attributes of a font.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

public struct LOGFONTW

The LOGFONTW type exposes the following members.

Public methodEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ValueType.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)

Public fieldlfCharSetSpecifies the character set.
Public fieldlfClipPrecisionSpecifies the clipping precision.
Public fieldlfEscapementSpecifies the angle, in tenths of degrees, between the escapement vector and the x-axis of the device.
Public fieldlfFaceNameA null-terminated string that specifies the typeface name of the font.
Public fieldlfHeightSpecifies the height, in logical units, of the font's character cell or character.
Public fieldlfItalicSpecifies an italic font if set to true.
Public fieldlfOrientationSpecifies the angle, in tenths of degrees, between each character's base line and the x-axis of the device.
Public fieldlfOutPrecisionSpecifies the output precision.
Public fieldlfPitchAndFamilySpecifies the pitch and family of the font.
Public fieldlfQualitySpecifies the output quality.
Public fieldlfStrikeOutSpecifies a strikeout font if set to true.
Public fieldlfUnderlineSpecifies an underline font if set to true.
Public fieldlfWeightSpecifies the weight of the font in the range 0 through 1000.
Public fieldlfWidthSpecifies the average width, in logical units, of characters in the font.

This structure maps to the LOGFONT structure documented in the Microsoft Platform Software Development Kit and is provided only as a COM wrapper.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft