FontFamily.GetTypefaces Metodo

Definizione

Importante

Questa API non è conforme a CLS.

Restituisce un insieme di oggetti Typeface che rappresentano i caratteri tipografici nel percorso del carattere di sistema predefinito.

public:
 System::Collections::Generic::ICollection<System::Windows::Media::Typeface ^> ^ GetTypefaces();
[System.CLSCompliant(false)]
public System.Collections.Generic.ICollection<System.Windows.Media.Typeface> GetTypefaces ();
[<System.CLSCompliant(false)>]
member this.GetTypefaces : unit -> System.Collections.Generic.ICollection<System.Windows.Media.Typeface>
Public Function GetTypefaces () As ICollection(Of Typeface)

Restituisce

ICollection<Typeface>

Oggetto ICollection<T> di oggetti Typeface.

Attributi

Esempio

// Return the font family for the selected font name.
FontFamily fontFamily = new FontFamily("Palatino Linotype");

// Return the collection of typefaces for the font family.
System.Collections.Generic.ICollection<Typeface> typefaces = fontFamily.GetTypefaces();
' Return the font family for the selected font name.
Dim fontFamily As New FontFamily("Palatino Linotype")

' Return the collection of typefaces for the font family.
Dim typefaces As System.Collections.Generic.ICollection(Of Typeface) = fontFamily.GetTypefaces()

Si applica a