TextStyle(String, FontStyle, Double) Constructor

NOTE: This member is now obsolete. Use the constructor that accepts the name as first parameter instead.

Standard constructor.
Public Sub New( _ 
ByVal fontFamilyName As String, _ 
ByVal style As FontStyle, _ 
Optional ByVal widthFactor As Double = 1 _ 
)
This language is not supported or no code example is available.
public TextStyle( 
string fontFamilyName
FontStyle style
double widthFactor = 1 
)
This language is not supported or no code example is available.

Parameters

fontFamilyName
string

The font family name

style
FontStyle

The font style

widthFactor
double

The width factor

.NET Framework

Supported in: 4.8

In this article

Definition