VintaSoft Barcode .NET SDK 16.0: Documentation for .NET developer
Vintasoft.Barcode.ImageSharp.TextRendering Namespace / ImageSharpTextRenderingFactory Class / CreateTextFont Methods / CreateTextFont(TextFont,Single,Boolean,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
CreateTextFont(TextFont,Single,Boolean,Boolean) Method (ImageSharpTextRenderingFactory)
In This Topic
Creates the font from the source font and changes size, bold/italic style of created font.
Syntax
'Declaration

Public Overloads Overrides Function CreateTextFont( _
ByVal font
The source font.
As Vintasoft.Barcode.TextRendering.TextFont, _
ByVal size
The font size, measured in the points (1/72 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 _
) As Vintasoft.Barcode.TextRendering.TextFont

Parameters

font
The source font.
size
The font size, measured in the points (1/72 inch).
isBold
A value indicating whether font is bold.
isItalic
A value indicating whether font is italic.

Return Value

The text font.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6

See Also