Class LOGFONT
Represents LogFont structure that defines the attributes of a font.
Inheritance
Namespace: Syncfusion.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.UWP.dll
Syntax
public class LOGFONT : Object
Constructors
LOGFONT()
Default constructor.
Declaration
public LOGFONT()
Fields
lfCharSet
Specifies the character set. The following values are predefined.
Declaration
public byte lfCharSet
Field Value
Type |
---|
System.Byte |
lfClipPrecision
Specifies the clipping precision. The clipping precision defines how to clip characters that are partially outside the clipping region.
Declaration
public byte lfClipPrecision
Field Value
Type |
---|
System.Byte |
lfEscapement
Specifies the angle, in tenths of degrees, between the escapement vector and the x-axis of the device. The escapement vector is parallel to the base line of a row of text.
Declaration
public int lfEscapement
Field Value
Type |
---|
System.Int32 |
lfFaceName
A null-terminated string that specifies the typeface name of the font. The length of this string must not exceed 32 characters, including the terminating null character. The EnumFontFamiliesEx function can be used to enumerate the typeface names of all currently available fonts. If lfFaceName is an empty string, GDI uses the first font that matches the other specified attributes.
Declaration
public byte[] lfFaceName
Field Value
Type |
---|
System.Byte[] |
lfHeight
Specifies the height, in logical units, of the font's character cell or character. The character height value (also known as the em height) is the character cell height value minus the internal-leading value.
Declaration
public int lfHeight
Field Value
Type |
---|
System.Int32 |
lfItalic
Specifies an italic font if set to TRUE.
Declaration
public byte lfItalic
Field Value
Type |
---|
System.Byte |
lfOrientation
Specifies the angle, in tenths of degrees, between each character's base line and the x-axis of the device.
Declaration
public int lfOrientation
Field Value
Type |
---|
System.Int32 |
lfOutPrecision
Specifies 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.
Declaration
public byte lfOutPrecision
Field Value
Type |
---|
System.Byte |
lfPitchAndFamily
Specifies the pitch and family of the font. The two low-order bits specify the pitch of the font. Font families describe the look of a font in a general way. They are intended for specifying fonts when the exact typeface desired is not available.
Declaration
public byte lfPitchAndFamily
Field Value
Type |
---|
System.Byte |
lfQuality
Specifies 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.
Declaration
public byte lfQuality
Field Value
Type |
---|
System.Byte |
lfStrikeOut
Specifies a strikeout font if set to TRUE.
Declaration
public byte lfStrikeOut
Field Value
Type |
---|
System.Byte |
lfUnderline
Specifies an underlined font if set to TRUE.
Declaration
public byte lfUnderline
Field Value
Type |
---|
System.Byte |
lfWeight
Specifies 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.
Declaration
public int lfWeight
Field Value
Type |
---|
System.Int32 |
lfWidth
Specifies the average width, in logical units, of characters in the font. If lfWidth is zero, the aspect ratio of the device is matched against the digitalization aspect ratio of the available fonts to find the closest match, determined by the absolute value of the difference.
Declaration
public int lfWidth
Field Value
Type |
---|
System.Int32 |