FontFamily.GetTypefaces 메서드

정의

중요

이 API는 CLS 규격이 아닙니다.

기본 시스템 글꼴 위치에 있는 서체를 나타내는 Typeface 개체의 컬렉션을 반환합니다.

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)

반환

ICollection<T> 개체의 Typeface입니다.

특성

예제

// 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()

적용 대상