FontFamily(String) Constructor

Definition

Initializes a new instance of the FontFamily class from the specified font family string.

public:
 FontFamily(Platform::String ^ familyName);
 FontFamily(winrt::hstring const& familyName);
public FontFamily(string familyName);
function FontFamily(familyName)
Public Sub New (familyName As String)

Parameters

familyName
String

Platform::String

winrt::hstring

The family name of the font to represent. This can include a hashed suffix.

Applies to