PrintDocument for WinForms
FindByName メソッド (DocumentFontCollection)


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > DocumentFontCollection クラス : FindByName メソッド
The DocumentFont.FontName to search for.
The DocumentFont.Bold value to search for.
The DocumentFont.Italic value to search for.
Finds a font in the current collection with the specified values of DocumentFont.FontName, DocumentFont.Bold and DocumentFont.Italic properties.
シンタックス
'宣言
 
Public Function FindByName( _
   ByVal fontName As System.String, _
   ByVal bold As System.Boolean, _
   ByVal italic As System.Boolean _
) As DocumentFont
'使用法
 
Dim instance As DocumentFontCollection
Dim fontName As System.String
Dim bold As System.Boolean
Dim italic As System.Boolean
Dim value As DocumentFont
 
value = instance.FindByName(fontName, bold, italic)
public DocumentFont FindByName( 
   System.string fontName,
   System.bool bold,
   System.bool italic
)

パラメータ

fontName
The DocumentFont.FontName to search for.
bold
The DocumentFont.Bold value to search for.
italic
The DocumentFont.Italic value to search for.

戻り値の型

The font with the specified properties, or null.
参照

DocumentFontCollection クラス
DocumentFontCollection メンバ