FontFamily Constructor
Collapse the table of content
Expand the table of content

FontFamily Constructor ()

 

Initializes a new instance of an anonymous FontFamily class.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public FontFamily()

Use this default constructor when you want to create a composite font programmatically. This means that you do not have to specify a font family name for the constructor, but you must populate the collections in the FamilyMaps and FamilyNames collections prior to using the constructed instance.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft