Initialize a new
FontBuilder
シンタックス
'宣言
Public Function New( _
ByVal As System.String, _
ByVal As FontFamily, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Boolean, _
ByVal As System.Boolean, _
ByVal As System.Boolean, _
ByVal As System.Integer, _
ByVal As System.Byte, _
ByVal As FontOutPrecision, _
ByVal As FontClipPrecision, _
ByVal As FontQuality, _
ByVal As FontPitch _
)
public FontBuilder(
System.string ,
FontFamily ,
System.int ,
System.int ,
System.int ,
System.int ,
System.bool ,
System.bool ,
System.bool ,
System.int ,
System.byte ,
FontOutPrecision ,
FontClipPrecision ,
FontQuality ,
FontPitch
)
パラメータ
- faceName
- 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 faceName is an empty string, GDI uses the first font that matches the other specified attributes.
- family
- Specifies the family of the font
- height
- 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.
- escapement
- 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.
- width
- Specifies the average width, in logical units, of characters in the font. If width is zero, the aspect ratio of the device is matched against the digitization aspect ratio of the available fonts to find the closest match, determined by the absolute value of the difference.
- weight
- 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. The following values are defined for convenience.
- italic
- Specifies an italic font if set to true.
- underline
- Specifies an underlined font if set to true.
- strikeOut
- Specifies a strikeout font if set to true.
- orientation
- Specifies the angle, in tenths of degrees, between each character's base line and the x-axis of the device.
- charSet
- Specifies the character set.
- outPrecision
- 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.
- clipPrecision
- Specifies the clipping precision. The clipping precision defines how to clip characters that are partially outside the clipping region. It can be one or more of the following values.
- quality
- 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.
- pitch
- Specifies the pitch of the font
参照