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


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > EmbeddedFontCollection クラス > FindFont メソッド : FindFont(String,Int32,Boolean,Boolean) メソッド
The name of the font to search for.
The charset to search for.
The bold style to search for.
The italic style to search for.
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 bold As System.Boolean, _
   ByVal italic As System.Boolean _
) As EmbeddedFont
'使用法
 
Dim instance As EmbeddedFontCollection
Dim name As System.String
Dim charSet As System.Integer
Dim bold As System.Boolean
Dim italic As System.Boolean
Dim value As EmbeddedFont
 
value = instance.FindFont(name, charSet, bold, italic)
public EmbeddedFont FindFont( 
   System.string name,
   System.int charSet,
   System.bool bold,
   System.bool italic
)

パラメータ

name
The name of the font to search for.
charSet
The charset to search for.
bold
The bold style to search for.
italic
The italic style to search for.

戻り値の型

The matching EmbeddedFont, or null if an exact match was not found.
参照

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