PrintDocument for WinForms
FindByFamilyName メソッド (DocumentFontCollection)


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > DocumentFontCollection クラス : FindByFamilyName メソッド
The DocumentFont.FontFamilyName 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.FontFamilyName, DocumentFont.Bold and DocumentFont.Italic properties.
シンタックス
'宣言
 
Public Function FindByFamilyName( _
   ByVal fontFamilyName As System.String, _
   ByVal bold As System.Boolean, _
   ByVal italic As System.Boolean _
) As DocumentFont
'使用法
 
Dim instance As DocumentFontCollection
Dim fontFamilyName As System.String
Dim bold As System.Boolean
Dim italic As System.Boolean
Dim value As DocumentFont
 
value = instance.FindByFamilyName(fontFamilyName, bold, italic)
public DocumentFont FindByFamilyName( 
   System.string fontFamilyName,
   System.bool bold,
   System.bool italic
)

パラメータ

fontFamilyName
The DocumentFont.FontFamilyName 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 メンバ