CalendarView for WinForms
FontBuilder コンストラクタ(String,FontFamily,Int32,Int32,Int32,Int32,Boolean,Boolean,Boolean,Int32,Byte,FontOutPrecision,FontClipPrecision,FontQuality,FontPitch)

C1.Win.C1Input.4.5.2 アセンブリ > C1.Framework.Drawing.Gdi 名前空間 > FontBuilder クラス > FontBuilder コンストラクタ : FontBuilder コンストラクタ(String,FontFamily,Int32,Int32,Int32,Int32,Boolean,Boolean,Boolean,Int32,Byte,FontOutPrecision,FontClipPrecision,FontQuality,FontPitch)
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.
Specifies the family of the font
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.
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.
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.
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.
Specifies an italic font if set to true.
Specifies an underlined font if set to true.
Specifies a strikeout font if set to true.
Specifies the angle, in tenths of degrees, between each character's base line and the x-axis of the device.
Specifies the character set.
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.
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.
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.
Specifies the pitch of the font
Initialize a new FontBuilder
シンタックス
'宣言
 
Public Function New( _
   ByVal faceName As System.String, _
   ByVal family As FontFamily, _
   ByVal height As System.Integer, _
   ByVal escapement As System.Integer, _
   ByVal width As System.Integer, _
   ByVal weight As System.Integer, _
   ByVal italic As System.Boolean, _
   ByVal underline As System.Boolean, _
   ByVal strikeOut As System.Boolean, _
   ByVal orientation As System.Integer, _
   ByVal charSet As System.Byte, _
   ByVal outPrecision As FontOutPrecision, _
   ByVal clipPrecision As FontClipPrecision, _
   ByVal quality As FontQuality, _
   ByVal pitch As FontPitch _
)
public FontBuilder( 
   System.string faceName,
   FontFamily family,
   System.int height,
   System.int escapement,
   System.int width,
   System.int weight,
   System.bool italic,
   System.bool underline,
   System.bool strikeOut,
   System.int orientation,
   System.byte charSet,
   FontOutPrecision outPrecision,
   FontClipPrecision clipPrecision,
   FontQuality quality,
   FontPitch pitch
)

パラメータ

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
参照

FontBuilder クラス
FontBuilder メンバ
オーバーロード一覧