VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingFactory Class / CreateFont Methods / CreateFont(IDrawingFont,Single) Method
Syntax Requirements SeeAlso
In This Topic
CreateFont(IDrawingFont,Single) Method (DrawingFactory)
In This Topic
Creates the font with new size.
Syntax
'Declaration

Public Overloads Function CreateFont( _
ByVal font
The source font.
As IDrawingFont, _
ByVal size
The font size.
As Single _
) As IDrawingFont
public IDrawingFont CreateFont(
IDrawingFont font,
float size
)

Parameters

font
The source font.
size
The font size.

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