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


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > EmbeddedFontCollection クラス > FindFont メソッド : FindFont(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 exactly matches the specified bold/italic styles.
シンタックス
'宣言
 
Public Overloads Function FindFont( _
   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.FindFont(name, charSet, fontStyle)
public EmbeddedFont FindFont( 
   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 an exact match was not found.
参照

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