VintaSoft Imaging .NET SDK 15.2: Documentation for .NET developer
Vintasoft.Imaging.Fonts Namespace / FontInfo Class / FromFontFamily Methods / FromFontFamily(String,Boolean,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
FromFontFamily(String,Boolean,Boolean) Method (FontInfo)
In This Topic
Creates FontInfo from font family.
Syntax
'Declaration

Public Overloads Shared Function FromFontFamily( _
ByVal fontFamilyName
Name of the font family.
As System.String, _
ByVal isBold
A value indicating whether font is bold.
As Boolean, _
ByVal isItalic
A value indicating whether font is italic.
As Boolean _
) As FontInfo
public static FontInfo FromFontFamily(
System.String fontFamilyName,
bool isBold,
bool isItalic
)

Parameters

fontFamilyName
Name of the font family.
isBold
A value indicating whether font is bold.
isItalic
A value indicating whether font is italic.

Return Value

A new instance of FontInfo class.
Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also