VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingFactory Class / CreateFont Methods / CreateFont(IDrawingFont,Single,Boolean,Boolean,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
CreateFont(IDrawingFont,Single,Boolean,Boolean,Boolean) Method (DrawingFactory)
In This Topic
Creates the font from the source font and changes size, bold/italic style of created font.
Syntax
'Declaration

Public Overloads MustOverride Function CreateFont( _
ByVal font
The source font.
As IDrawingFont, _
ByVal size
The font size.
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

Parameters

font
The source font.
size
The font size.
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