VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingFactory Class / CreateSystemFont Methods / CreateSystemFont(String,Single,Boolean,Boolean,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
CreateSystemFont(String,Single,Boolean,Boolean,Boolean) Method (DrawingFactory)
In This Topic
Creates the system font by name.
Syntax
'Declaration

Public Overloads MustOverride Function CreateSystemFont( _
ByVal fontName
The name of the font.
As System.String, _
ByVal size
The size of the font measured in the world space units (1/96 inch).
As Single, _
ByVal isBold
A value indicating whether font is bold.
As Boolean, _
ByVal isItalic
A value indicating whether font is italic.
As Boolean, _
ByVal useFallbackFont
A value indicating whether font with fallback must be created.
As Boolean _
) As IDrawingFont
public abstract IDrawingFont CreateSystemFont(
System.String fontName,
float size,
bool isBold,
bool isItalic,
bool useFallbackFont
)

Parameters

fontName
The name of the font.
size
The size of the font measured in the world space units (1/96 inch).
isBold
A value indicating whether font is bold.
isItalic
A value indicating whether font is italic.
useFallbackFont
A value indicating whether font with fallback must be created.

Return Value

The font.
Requirements

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

See Also