Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the attributes of a font.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Public Structure LOGFONTW
public struct LOGFONTW
public value class LOGFONTW
[<Sealed>]
type LOGFONTW = struct end
JScript supports the use of structures, but not the declaration of new ones.
The LOGFONTW type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
![]() |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Fields
Name | Description | |
---|---|---|
![]() |
lfCharSet | Specifies the character set. |
![]() |
lfClipPrecision | Specifies the clipping precision. |
![]() |
lfEscapement | Specifies the angle, in tenths of degrees, between the escapement vector and the x-axis of the device. |
![]() |
lfFaceName | A null-terminated string that specifies the typeface name of the font. |
![]() |
lfHeight | Specifies the height, in logical units, of the font's character cell or character. |
![]() |
lfItalic | Specifies an italic font if set to true. |
![]() |
lfOrientation | Specifies the angle, in tenths of degrees, between each character's base line and the x-axis of the device. |
![]() |
lfOutPrecision | Specifies the output precision. |
![]() |
lfPitchAndFamily | Specifies the pitch and family of the font. |
![]() |
lfQuality | Specifies the output quality. |
![]() |
lfStrikeOut | Specifies a strikeout font if set to true. |
![]() |
lfUnderline | Specifies an underline font if set to true. |
![]() |
lfWeight | Specifies the weight of the font in the range 0 through 1000. |
![]() |
lfWidth | Specifies the average width, in logical units, of characters in the font. |
Top
Remarks
This structure maps to the LOGFONT structure documented in the Microsoft Platform Software Development Kit and is provided only as a COM wrapper.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.