FontNamedInstance Class

An instance a variable font names, such as "Bold" or "Condensed Light": a value for each of its axes.

public sealed class FontNamedInstance

Properties

NameDescription
NameGets the name of the instance; empty when the font gives none.
PostScriptNameGets the PostScript name of the instance, or null when the font gives none.
SettingsGets the value of each axis of the font, in the order of Font.VariationAxes.

Gets the name of the instance; empty when the font gives none.

public string Name { get; }

Property value

string

PostScriptName

FontNamedInstance.cs

Gets the PostScript name of the instance, or null when the font gives none.

public string? PostScriptName { get; }

Property value

string?

Gets the value of each axis of the font, in the order of Font.VariationAxes.

public IReadOnlyList<FontVariationSetting> Settings { get; }

Methods

NameDescription
ToString()Returns a string that represents the current object.

Returns a string that represents the current object.

public override string ToString()

Returns

string A string that represents the current object.