PrintDocument for WinForms
FindBestMatch(String,Int32,FontStyle) メソッド


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > EmbeddedFontCollection クラス : FindBestMatch(String,Int32,FontStyle) メソッド
The name of the font to search for.
The charset to search for.
The style of the font to match.
Searches for a font with the specified name and charset, which is the best match for the specified bold/italic styles (exact bold/italic matching is not guaranteed by this method).
シンタックス
'宣言
 
Public Function FindBestMatch( _
   ByVal name As System.String, _
   ByVal charSet As System.Integer, _
   ByVal fontStyle As System.Drawing.FontStyle _
) As EmbeddedFont
'使用法
 
Dim instance As EmbeddedFontCollection
Dim name As System.String
Dim charSet As System.Integer
Dim fontStyle As System.Drawing.FontStyle
Dim value As EmbeddedFont
 
value = instance.FindBestMatch(name, charSet, fontStyle)
public EmbeddedFont FindBestMatch( 
   System.string name,
   System.int charSet,
   System.Drawing.FontStyle fontStyle
)

パラメータ

name
The name of the font to search for.
charSet
The charset to search for.
fontStyle
The style of the font to match.

戻り値の型

The matching EmbeddedFont, or null if a match could not be found.
参照

EmbeddedFontCollection クラス
EmbeddedFontCollection メンバ